Skip to content

⬆️ Update dependency prettier to v3 #366

⬆️ Update dependency prettier to v3

⬆️ Update dependency prettier to v3 #366

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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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