Skip to content

chore: replace nvmrc with tool-versions and update workflow #154

chore: replace nvmrc with tool-versions and update workflow

chore: replace nvmrc with tool-versions and update workflow #154

Workflow file for this run

name: main
on:
workflow_dispatch:
push:
paths-ignore:
- "*.md"
branches:
- main
- master
pull_request:
paths-ignore:
- "*.md"
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
cache: "npm"
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Format
run: npm run fmtcheck
integration:
if: github.event_name == 'push'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
cache: "npm"
- name: Turnstyle
uses: ./ # Uses an action in the root directory
with:
poll-interval-seconds: 10
- name: Deploy
run: sleep 180