Skip to content

Commit

Permalink
chore: add macos and windows gha
Browse files Browse the repository at this point in the history
  • Loading branch information
talmobi committed Sep 26, 2024
1 parent c0139e0 commit cb8cfbc
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/macos-node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: macos

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

jobs:
build:

runs-on: macos-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Workaround to create TTY
run: |
npm install
npm run build --if-present
script -q -c "npm test"
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-node.js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: ubuntu

on:
push:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/windows-node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: windows

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

jobs:
build:

runs-on: windows-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Workaround to create TTY
run: |
npm install
npm run build --if-present
script -q -c "npm test"

0 comments on commit cb8cfbc

Please sign in to comment.