Skip to content

Commit

Permalink
chore: add GH action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Feb 20, 2024
1 parent 30c8186 commit 1931759
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node.js CI

on: [push]

jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
node-version: ["20.x"]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: npm i
- run: npm run build --if-present
- run: npm test

0 comments on commit 1931759

Please sign in to comment.