Skip to content

Commit

Permalink
Workflow for Test
Browse files Browse the repository at this point in the history
  • Loading branch information
peace317 committed May 11, 2024
1 parent d8d15ff commit 346edca
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: npm install
run: |
npm install
- name: npm test
run: |
npm run package
npm run lint
npm exec tsc
npm test

0 comments on commit 346edca

Please sign in to comment.