Skip to content

Commit

Permalink
test(github): try github action
Browse files Browse the repository at this point in the history
  • Loading branch information
playdingnow committed Oct 18, 2023
1 parent 0ec392f commit c3a8b78
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i --no-fund --no-audit
- run: npm test
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit c3a8b78

Please sign in to comment.