Skip to content

chore(deps): update actions/setup-node action to v3.8.1 (#380) #705

chore(deps): update actions/setup-node action to v3.8.1 (#380)

chore(deps): update actions/setup-node action to v3.8.1 (#380) #705

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- 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