chore: bump next from 14.0.3 to 14.1.1 #70
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 / test' | |
on: | |
push: | |
branches: | |
- main # runs on push to master, add more branches if you use them | |
pull_request: | |
branches: | |
- '**' # runs on update to pull request on any branch | |
jobs: | |
# most basic test job | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: corepack enable | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- run: yarn install --immutable | |
- run: yarn run build # compile typescript into javascript | |
- run: yarn run lint | |
- run: yarn run test:unit # run unit tests | |
- run: yarn run test:integration # run integration tests |