chore(deps): bump nanoid from 3.3.7 to 3.3.8 #582
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: Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js 20 | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- run: yarn install --immutable | |
- run: yarn run lint | |
test: | |
strategy: | |
matrix: | |
node-version: [18, 20, 21, 22] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- run: yarn install --immutable | |
- name: Code Climate Coverage Action | |
uses: paambaati/codeclimate-action@v5 | |
env: | |
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} | |
with: | |
coverageCommand: yarn run test | |
coverageLocations: | | |
${{github.workspace}}/coverage/lcov.info:lcov |