Skip to content

Add supply-chain hardened .npmrc (PER-8365) #34

Add supply-chain hardened .npmrc (PER-8365)

Add supply-chain hardened .npmrc (PER-8365) #34

Workflow file for this run

name: Tests
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/cache@v3
with:
path: ~/.npm
key: v1/${{ runner.os }}/node-14/${{ hashFiles('**/package-lock.lock') }}
restore-keys: v1/${{ runner.os }}/node-14/
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}