Skip to content

Commit 4dddd61

Browse files
authored
Merge pull request #154 from nschonni/remove-build-step
ci: remove unused call to build
2 parents 7eb71af + 9e8e499 commit 4dddd61

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
@@ -8,24 +8,20 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

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

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