Skip to content

Commit

Permalink
Merge pull request #62 from web-push-libs/action-nodejs
Browse files Browse the repository at this point in the history
Actions for nodejs bits
  • Loading branch information
martinthomson authored Feb 23, 2023
2 parents ab25f35 + 487af69 commit 89bbf6f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master ]
paths:
- 'nodejs/**'
pull_request:
branches: [ master ]
paths:
- 'nodejs/**'

jobs:
build:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: node nodejs/test.js dump verbose

0 comments on commit 89bbf6f

Please sign in to comment.