Bump nanoid from 3.3.7 to 3.3.8 #84
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: Continuous testing | |
on: [pull_request] | |
jobs: | |
test-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check that the image builds | |
run: docker build . --file Dockerfile | |
test: | |
strategy: | |
matrix: | |
command: [lint, build, test] | |
runs-on: ubuntu-latest | |
name: running ${{ matrix.command }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use node 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Cache node modules | |
id: yarn-cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- run: yarn run ${{ matrix.command }} | |
conclude: | |
runs-on: ubuntu-latest | |
name: All tests passed | |
needs: [test, test-image] | |
steps: | |
- run: echo '### Good job! All the tests passed 🚀' >> $GITHUB_STEP_SUMMARY |