Skip to content

feat: migrate from jest to vitest #254

feat: migrate from jest to vitest

feat: migrate from jest to vitest #254

Workflow file for this run

name: main
on:
workflow_dispatch:
push:
paths-ignore:
- "*.md"
branches:
- master
pull_request:
paths-ignore:
- "*.md"
branches:
- master
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 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