Skip to content

Commit 7853ec2

Browse files
committed
ci(github): remove workflow before deprecation and improve current
1 parent 2890e5a commit 7853ec2

File tree

3 files changed

+28
-95
lines changed

3 files changed

+28
-95
lines changed

.github/main.workflow

-67
This file was deleted.

.github/workflows/main.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build_test_lint:
7+
name: Node ${{ matrix.node_version }} and ${{ matrix.os }}
8+
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node_version: ['8.16', 10, 12] # Node 8 version fix due to https://github.com/actions/setup-node/issues/27
13+
os: [ubuntu-latest, windows-latest, macOS-latest]
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js ${{ matrix.node_version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
version: ${{ matrix.node_version }}
23+
- name: Install
24+
run: yarn install --frozen-lockfile
25+
- name: Build
26+
run: yarn build
27+
- name: Lint
28+
run: yarn lint

.github/workflows/nodejs.yml

-28
This file was deleted.

0 commit comments

Comments
 (0)