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

Commit

Permalink
ci: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nokome Bentley committed Apr 15, 2024
1 parent 1603a3c commit 48f8c90
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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

0 comments on commit 48f8c90

Please sign in to comment.