chore(deps-dev): bump @types/node from 20.12.8 to 20.12.10 #1960
Workflow file for this run
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: 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 |