chore(deps): bump nanoid from 3.3.7 to 3.3.8 #122
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 | |
concurrency: | |
group: ci-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
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 | |
- name: Yarn cache | |
id: yarn-cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: yarn-cache | |
- run: yarn install --immutable # install dependencies | |
- run: yarn run build # compile typescript into javascript | |
- run: yarn run lint # lint code | |
- run: yarn run test # run tests |