Skip to content

Commit 9e8e499

Browse files
committed
ci: remove unused call to build
Ran prettier to reformat
1 parent 81d741c commit 9e8e499

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

.github/workflows/nodejs.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,20 @@ on:
66

77
jobs:
88
build:
9-
109
runs-on: ubuntu-latest
1110

1211
strategy:
1312
matrix:
1413
node-version: [12.x, 14.x, 16.x]
1514

1615
steps:
17-
- uses: actions/checkout@v2
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v2
20-
with:
21-
node-version: ${{ matrix.node-version }}
22-
cache: npm
23-
- name: npm install, build, and test
24-
run: |
25-
npm ci
26-
npm run build --if-present
27-
npm test
28-
env:
29-
CI: true
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
cache: npm
22+
- name: Install
23+
run: npm ci
24+
- name: Test
25+
run: npm test

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
registry-url: https://registry.npmjs.org/
1616
cache: npm
1717
- run: npm ci
18-
- run: npm run build --if-present
1918
- run: npm test
2019
- run: npm version ${TAG_NAME} --git-tag-version=false
2120
env:
2221
TAG_NAME: ${{ github.event.release.tag_name }}
2322
- run: npm whoami; npm --ignore-scripts publish
2423
env:
25-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
24+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)