This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
Deprecation Warning #361
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: node tests | |
on: | |
push: | |
branches: | |
- github-ci | |
- master | |
- main | |
pull_request: | |
branches: | |
- github-ci | |
- master | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.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: npm ci | |
- run: npm install | |
- run: npm test | |
env: | |
MOESIF_KEY: ${{ secrets.MOESIF_KEY }} | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} |