Skip to content

GitHub Actions

GitHub Actions #3

Workflow file for this run

name: Node
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install
run: npm ci
- name: Format
run: npm run prettier
- name: Test
run: npm run test