Skip to content

Commit

Permalink
Add run_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yunabe committed May 12, 2023
1 parent 44b0317 commit ce5397b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run_tests.yml
@@ -0,0 +1,30 @@
name: Node.js CI

on:
push:
branches: [ typescript4.6 ]
tags: [ '*' ]
pull_request:
branches: [ main ]
release:
types: [ published ]

jobs:
build:

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

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test

0 comments on commit ce5397b

Please sign in to comment.