Skip to content

Bump actions/setup-node from 2.4.0 to 4.0.2 #46

Bump actions/setup-node from 2.4.0 to 4.0.2

Bump actions/setup-node from 2.4.0 to 4.0.2 #46

Workflow file for this run

name: Build
on: pull_request
jobs:
typescript_compiler:
name: TypeScript compiler
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Cache dependencies
uses: actions/cache@v2.1.6
with:
path: ./.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Setup Node.js
uses: actions/setup-node@v4.0.2
with:
node-version: '16.x'
- name: Install npm dependencies
run: npm ci --prefer-offline --cache=./.npm
- name: Build library
run: npx tsc