Skip to content

chore(repo): use new output nomenclature for dev builds #609

chore(repo): use new output nomenclature for dev builds

chore(repo): use new output nomenclature for dev builds #609

Workflow file for this run

name: Build & Test
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
build_and_test:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
name: Node on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout Code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: './package.json'
- name: Restore Dependency Cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: npm ci
- name: Setup Testing Environment
run: npm run bootstrap
- name: Build
run: npm run build
- name: Test
run: npm test
format:
name: Format
uses: ./.github/workflows/format.yml