Skip to content

Bump actions/checkout from 3.6.0 to 4.0.0 #311

Bump actions/checkout from 3.6.0 to 4.0.0

Bump actions/checkout from 3.6.0 to 4.0.0 #311

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # https://github.com/actions/checkout/releases/tag/v4.0.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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # https://github.com/actions/checkout/releases/tag/v4.0.0
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # https://github.com/actions/setup-node/releases/tag/v3.8.1
with:
node-version-file: .nvmrc
- name: npm install
run: npm ci
- name: test
run: npm test