This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
merge: Amend e5893c35269dd15e406c2e6bf9ea1390174fd8de #757
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: Test | |
on: [push, pull_request] | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-11, ubuntu-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install python setup tools | |
run: | | |
pip install setuptools | |
- name: npm install | |
run: | | |
npm install | |
- name: npm test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
npm run package | |
npm run lint | |
npm exec tsc | |
npm test |