Merge pull request #27 from curvenote/changeset-release/main #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main, ci-*] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
if: github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: 'node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} | |
- run: yarn install | |
- run: yarn run lint | |
- run: yarn run lint:format | |
- run: yarn run test |