Skip to content

Update actions/setup-node action to v3.8.1 - autoclosed #642

Update actions/setup-node action to v3.8.1 - autoclosed

Update actions/setup-node action to v3.8.1 - autoclosed #642

Workflow file for this run

name: "Continuous Integration"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: 18.x
- name: Cache node_modules
id: cache-npm-packages
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
env:
cache-name: cache-node_modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
- name: Install apt packages
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update -y
sudo apt-get install -y libkrb5-dev
- name: Install Dependencies
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test