Skip to content

Commit 838343f

Browse files
committed
ci: Fix erros in the actions
1 parent 6539dc3 commit 838343f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
uses: actions/setup-node@v2
1717
with:
1818
node-version: 12.x
19-
registry-url: 'https://npm.pkg.github.com'
19+
registry-url: "https://npm.pkg.github.com"
2020
- name: install
2121
run: yarn install
22+
- name: test
23+
run: yarn run test
24+
env:
25+
CI: true
2226
- name: build
23-
run: yarn build
27+
run: yarn run build
2428
- name: publish
2529
run: |
2630
npx can-npm-publish --verbose && npm publish

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
- name: yarn install, and test
2424
run: |
2525
yarn install
26-
yarn test
26+
yarn run test
2727
env:
2828
CI: true

0 commit comments

Comments
 (0)