Skip to content

Commit

Permalink
Use github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smithamax committed Jul 27, 2022
1 parent be0cebc commit c75f4c4
Show file tree
Hide file tree
Showing 4 changed files with 8,588 additions and 169 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/npm-publlish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on: push

jobs:
test:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

publish:
needs: test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit c75f4c4

Please sign in to comment.