Skip to content

chore(deps): update actions/checkout action to v4.1.4 (#431) #802

chore(deps): update actions/checkout action to v4.1.4 (#431)

chore(deps): update actions/checkout action to v4.1.4 (#431) #802

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: './package.json'
- name: Restore Dependency Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
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