Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

ci: add test workflow #1

ci: add test workflow

ci: add test workflow #1

Workflow file for this run

# Workflow for running linting, tests etc
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
NODE_VERSION: '20'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Lint
run: npm run lint
- name: Test
run: npm run test