Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
w00000dy authored Mar 20, 2024
1 parent d78ed53 commit 1a03299
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Node.js CI

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

jobs:
build:
Expand All @@ -20,12 +16,13 @@ jobs:
build-command: 'npm run "build windows"'
- os: macos-latest
build-command: 'npm run "build mac"'

steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- name: Build
run: ${{ matrix.command }}
run: ${{ matrix.build-command }}

0 comments on commit 1a03299

Please sign in to comment.