Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit b695b8e

Browse files
authored
Update publish.yml
1 parent 1d2a40f commit b695b8e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
15+
- name: Use Node.js ${{ env.NODE_VERSION }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ env.NODE_VERSION }}
19+
20+
- name: npm install, build, and test
21+
run: |
22+
npm install
23+
npm run build --if-present
24+
npm run test --if-present
1425
- uses: author/action-publish@stable
1526
env:
1627
# Typically an npm token

0 commit comments

Comments
 (0)