Skip to content

Commit dccd176

Browse files
authored
Update node.js.yml
1 parent b05ed51 commit dccd176

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,19 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
- uses: actions/setup-node@v1
25-
- uses: codecov/codecov-action@v1
23+
- name: Build 🌍 and Test 🐞
24+
uses: actions/setup-node@v1x
2625
with:
2726
node-version: ${{ matrix.node-version }}
2827
- run: npm install
28+
- run: npm install codecov
2929
- run: npm test
30+
- run: npx codecov
3031
- run: npm run build
3132
- run: npm run build:demo:ci
3233
env:
3334
PUBLIC_URL: '/context-api-dev-tools-extension/'
35+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3436

3537
- name: Deploy 🚀
3638
uses: JamesIves/github-pages-deploy-action@3.7.1

0 commit comments

Comments
 (0)