Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 20 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
name: build

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

jobs:
build:
runs-on: ubuntu-latest

runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '20'

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
- name: Run Continuous Integration
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
Loading