Skip to content

Commit 78ed73d

Browse files
chore: update ci config
remove build matrix since there isn't any platform specific code
1 parent 9b7bc25 commit 78ed73d

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

.github/workflows/node.js.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
4-
name: Node.js CI
1+
name: CI
52

63
on: [push, pull_request]
74

85
jobs:
96
build:
10-
name: Tests - ${{ matrix.os }} - Node.js v${{ matrix.node-version }}
11-
12-
runs-on: ${{ matrix.os }}
7+
name: Generate build and check code formatting
138

14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest, macos-latest]
17-
node-version: [12.x, 13.x, 14.x]
9+
runs-on: ubuntu-latest
1810

1911
steps:
20-
- uses: actions/checkout@v2
21-
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v1
23-
with:
24-
node-version: ${{ matrix.node-version }}
25-
- run: npm ci
26-
- run: npm run format:check
27-
- run: npm run build
12+
- uses: actions/checkout@v2
13+
- name: Use Node.js 12.x
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
- run: npm ci
18+
- run: npm run format:check
19+
- run: npm run build

0 commit comments

Comments
 (0)