Skip to content

chore(deps): update actions/checkout action to v3.6.0 (#384) #709

chore(deps): update actions/checkout action to v3.6.0 (#384)

chore(deps): update actions/checkout action to v3.6.0 (#384) #709

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
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