Skip to content

Commit

Permalink
mac test action added
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko committed Aug 20, 2024
1 parent 08c09d5 commit 589a95d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run-tests-mac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: All Tests on Mac

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: mac-13

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]

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

0 comments on commit 589a95d

Please sign in to comment.