Skip to content

Bump actions/setup-node from 3.8.1 to 4.0.0 #363

Bump actions/setup-node from 3.8.1 to 4.0.0

Bump actions/setup-node from 3.8.1 to 4.0.0 #363

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.2
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version-file: .nvmrc
- name: npm install
run: npm ci
- name: test
run: npm test