Skip to content

Use Volta for NodeJS version management #12

Use Volta for NodeJS version management

Use Volta for NodeJS version management #12

Workflow file for this run

name: Main branch
on:
push:
paths-ignore:
- "LICENSE"
- "README.md"
branches:
- main
jobs:
build:
name: Lint and build website
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: volta-cli/action@v4
- name: Install dependencies
run: npm install
- name: Lint code
run: npm run lint
- name: Build website
run: npm run build