Skip to content

Commit

Permalink
Merge pull request #9 from neptunelabs/ci-changes
Browse files Browse the repository at this point in the history
CI changes
  • Loading branch information
staybyte authored Nov 10, 2022
2 parents f8d174a + 6b4f369 commit f7ea957
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Node.js CI

on: [push]
on:
push:
branches:
- master
pull_request: {}

jobs:
build:
Expand All @@ -9,13 +13,13 @@ jobs:
name: Build and test code
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2

- name : Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
Expand All @@ -40,7 +44,7 @@ jobs:
- name : Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
registry-url: https://registry.npmjs.org/

- name: Check version changes
Expand Down

0 comments on commit f7ea957

Please sign in to comment.