Skip to content

chore(deps-dev): bump eslint-plugin-n from 17.4.0 to 17.5.1 #1964

chore(deps-dev): bump eslint-plugin-n from 17.4.0 to 17.5.1

chore(deps-dev): bump eslint-plugin-n from 17.4.0 to 17.5.1 #1964

Workflow file for this run

name: Unit Tests / Lint
# On every push, for every pull-request and whenever another workflow calls this one
on: [push, pull_request, workflow_call]
permissions:
contents: read
env:
NODE_VERSION: '20'
# Ensure only a single unit test workflow runs at any one time for any event and
# ref. This allows multiple unit tests/linters to run, but at most one per ref.
# NOTE: Changed `ref` to `sha`, since even for PRs, `ref` will be `develop`.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.sha }}
cancel-in-progress: true
jobs:
check:
name: Unit Tests / Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Always fetch the branch that triggered the event (develop or master)
ref: ${{ github.ref }}
- name: Setup NodeJS ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Install packages
run: yarn install --immutable
- name: Run ESLint
run: yarn lint
- name: Run unit tests
run: yarn test
- name: Test CSL update
run: yarn update:csl
- name: Test Citation update
run: yarn update:citation