Skip to content

Commit

Permalink
Chore: replace appveyor to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Jan 14, 2022
1 parent 9330c38 commit cee9884
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/npt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test package on different nodejs environments

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: npm ci
- name: Pack tests
run: npx npt pack -c .package-tester.json
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
node: [ 10, 12, 14, 16 ]
needs: build
steps:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Show configuration
run: |
npm config get user-agent

0 comments on commit cee9884

Please sign in to comment.