Skip to content

Commit

Permalink
Create build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Jul 14, 2024
1 parent cbded78 commit a7a4320
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci

permissions:
contents: read

on:
push:
pull_request:
branches: [ main ]

jobs:
build:
name: build (node v${{ matrix.node }})

runs-on: macos-latest

strategy:
fail-fast: false
matrix:
node: [ 18, 20 ]

steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- run: npm install
- run: npm test

0 comments on commit a7a4320

Please sign in to comment.