Skip to content

Commit 64d2dae

Browse files
authored
Update node.js.yml
1 parent 123fbd9 commit 64d2dae

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

.github/workflows/node.js.yml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,20 @@
33

44
name: Node.js CI
55

6+
name: CI
7+
8+
# Controls when the action will run. Triggers the workflow on push or pull request
9+
# events but only for the master branch
610
on:
711
push:
812
branches: [ master ]
9-
pull_request:
10-
branches: [ master ]
11-
13+
1214
jobs:
13-
build:
14-
15+
deploy:
1516
runs-on: ubuntu-latest
16-
17-
strategy:
18-
matrix:
19-
node-version: [10.x, 12.x, 14.x]
20-
2117
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: node createEnv.js
28-
- run: yarn install
29-
- run: yarn deploy
18+
- uses: actions/checkout@master
19+
- name: Install Dependencies
20+
run: yarn install
21+
- name: Build
22+
run: yarn build

0 commit comments

Comments
 (0)