chore(deps): bump nanoid from 3.3.7 to 3.3.8 #98
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: Lint | |
on: [pull_request, push] | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
# Run the job on Node 20 and 23 which better support modern testing frameworks | |
strategy: | |
matrix: | |
node-version: [20.x, 21.x, 23.x] | |
# Steps involved for this particular task | |
steps: | |
# Checks out the repository and enables the use of commands made available in the project ie npm run | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js version ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Set Yarn version | |
run: yarn set version 4.2.2 | |
- name: Cache yarn dependencies | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-yarn-dependencies | |
with: | |
path: | | |
.yarn/cache | |
.yarn/unplugged | |
.yarn/build-state.yml | |
.yarn/install-state.gz | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install | |
- name: Run linters | |
run: yarn lint |