Skip to content

Commit

Permalink
Merge pull request #8 from buster95/pipeline
Browse files Browse the repository at this point in the history
[⚙️] Pipeline to do build testing
  • Loading branch information
schnerd committed Dec 24, 2022
2 parents 01c6d5d + d2b4a9d commit 747010d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js CI

on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build

0 comments on commit 747010d

Please sign in to comment.