Skip to content

Update actions/setup-node action to v7 (#77) #177

Update actions/setup-node action to v7 (#77)

Update actions/setup-node action to v7 (#77) #177

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 1
persist-credentials: false
- name: Install Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .tool-versions
cache: npm
cache-dependency-path: package-lock.json
- name: Download dependencies
run: npm ci
- name: Run Vite
run: npm run build