Skip to content

Content Update - Joe Cacc #11

Content Update - Joe Cacc

Content Update - Joe Cacc #11

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
jobs:
build:
name: Build & Release
runs-on: ubuntu-latest
steps:
- name: Use actions/checkout@v2
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Handle Cache
uses: actions/cache@v2
id: cache
with:
path: |
node_modules
**/node_modules
~/.npm
key: node-deps-${{ hashFiles('package-lock.json') }}
- name: Install Deps
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
- name: Run Full Build
run: npm run build
- name: Run Knapsack Test
run: npm run ks:test