Skip to content

⬆️ Update actions/checkout digest to 11bd719 #363

⬆️ Update actions/checkout digest to 11bd719

⬆️ Update actions/checkout digest to 11bd719 #363

Workflow file for this run

# SPDX-FileCopyrightText: 2022 Ferdinand Thiessen <[email protected]>
# SPDX-License-Identifier: CC0-1.0
#
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "npm"
- name: Install dependencies and build
run: |
npm ci
npm run build --if-present
- name: Lint
run: npm run lint
- name: Run tests
run: npm test