Skip to content

Commit 7ff1c03

Browse files
committed
fix workflow
1 parent 71eea1b commit 7ff1c03

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

.github/workflows/nodejs-beta.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@ on:
99
- beta
1010

1111
jobs:
12-
build:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/[email protected]
16-
- uses: actions/[email protected]
17-
with:
18-
node-version: 14
19-
- name: npm install, build and test
20-
run: |
21-
npm install
22-
npm run lint
23-
npm run build
24-
env:
25-
CI: true
26-
2712
publish-npm:
2813
if: github.repository == 'OpenWonderLabs/node-switchbot'
2914

.github/workflows/nodejs.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,6 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
12-
strategy:
13-
matrix:
14-
node-version: [12.x, 13.x, 14.x, 15.x]
15-
os: [ubuntu-latest]
16-
17-
runs-on: ${{ matrix.os }}
18-
19-
steps:
20-
- uses: actions/[email protected]
21-
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/[email protected]
23-
with:
24-
node-version: ${{ matrix.node-version }}
25-
- name: npm install, build and test
26-
run: |
27-
npm install
28-
npm run lint
29-
npm run build
30-
env:
31-
CI: true
32-
3311
publish-npm:
3412
# publish only if we are on our own repo, event was 'release' (a tag was created) and the tag starts with "v" (aka version tag)
3513
if: github.repository == 'OpenWonderLabs/node-switchbot' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)