File tree 5 files changed +11126
-6755
lines changed
5 files changed +11126
-6755
lines changed Original file line number Diff line number Diff line change 57
57
steps :
58
58
- uses : actions/checkout@v2
59
59
- name : Install dependencies
60
- run : yarn install
60
+ run : npm install
61
61
- name : Run ESLint
62
- run : yarn run lint
62
+ run : npm run lint
63
63
64
64
jest :
65
65
runs-on : ubuntu-latest
70
70
with :
71
71
node-version : ' 15'
72
72
- name : Install dependencies
73
- run : yarn install
73
+ run : npm install
74
74
- name : Run Jest
75
- run : yarn test --coverage --coverageDirectory=test-results/jest
75
+ run : npm run test --coverage --coverageDirectory=test-results/jest
76
76
- name : Upload coverage to Codecov
77
77
if : always()
78
78
uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
18
18
with :
19
19
node-version : 12
20
20
registry-url : https://registry.npmjs.org/
21
- - run : yarn install --frozen-lockfile
21
+ - run : npm ci
22
22
- run : git config --global user.name "GitHub CD bot"
23
23
- run : git config --global user.email "github-cd-bot@github.com"
24
- - run : yarn version --new- version ${{ github.event.release.tag_name }} --no-git-tag-version
24
+ - run : npm --no-git-tag- version version ${{ github.event.release.tag_name }}
25
25
# - run: yarn run build
26
26
# - run: yarn test
27
- - run : yarn publish --verbose --access public --tag latest
27
+ - run : npm publish --verbose --access public --tag latest
28
28
env :
29
29
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
30
30
- run : git add package.json
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ node_modules/
2
2
dist /
3
3
build /
4
4
npm-debug.log
5
- package-lock.json
6
5
vendor /
7
6
.idea /
8
7
.phpunit.result.cache
You can’t perform that action at this time.
0 commit comments