Skip to content

Commit

Permalink
Merge pull request #55 from hnrchrdl/ci
Browse files Browse the repository at this point in the history
Adds workflow for running tests in CI
  • Loading branch information
theKashey authored Nov 14, 2023
2 parents 3b90430 + 519d8c1 commit e224927
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: ['*']
pull_request:
branches: ['*']

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
- name: Run tests [Node.js ${{ matrix.node-version }}]
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn test:ci

0 comments on commit e224927

Please sign in to comment.