Skip to content

chore(deps-dev): bump the semantic-release group across 1 directory with 2 updates #1043

chore(deps-dev): bump the semantic-release group across 1 directory with 2 updates

chore(deps-dev): bump the semantic-release group across 1 directory with 2 updates #1043

Workflow file for this run

name: Node CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-lint-test:
env:
CI: true
HUSKY: 0
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: use nodejs ${{ matrix.node-version }} on {{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: start tile38
run: docker compose up -d
- name: yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test
- name: build
run: yarn build
- name: stop tile38
run: docker compose down
release:
needs: build-lint-test
name: release
runs-on: ubuntu-latest
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install dependencies
run: yarn
- name: release
run: npx semantic-release