Skip to content

chore: bump actions and switch to sha #83

chore: bump actions and switch to sha

chore: bump actions and switch to sha #83

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
Test:
name: Build
runs-on: ubuntu-latest
steps:
- name: Get sources
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Restore npm cache
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Use Node.js 14
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Test
run: npm run test
env:
CI: true