Skip to content

fix(actions): update pipelines to node 20 as well #288

fix(actions): update pipelines to node 20 as well

fix(actions): update pipelines to node 20 as well #288

Workflow file for this run

name: Test Build
on:
pull_request:
push:
branches:
- main
- beta
jobs:
build:
name: Build Production
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache node modules
uses: actions/cache@v3
id: cache-node-modules
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.lock') }}
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm install
- name: Build
run: npm run build