File tree Expand file tree Collapse file tree 5 files changed +11126
-6755
lines changed Expand file tree Collapse file tree 5 files changed +11126
-6755
lines changed Original file line number Diff line number Diff line change 5757 steps :
5858 - uses : actions/checkout@v2
5959 - name : Install dependencies
60- run : yarn install
60+ run : npm install
6161 - name : Run ESLint
62- run : yarn run lint
62+ run : npm run lint
6363
6464 jest :
6565 runs-on : ubuntu-latest
7070 with :
7171 node-version : ' 15'
7272 - name : Install dependencies
73- run : yarn install
73+ run : npm install
7474 - name : Run Jest
75- run : yarn test --coverage --coverageDirectory=test-results/jest
75+ run : npm run test --coverage --coverageDirectory=test-results/jest
7676 - name : Upload coverage to Codecov
7777 if : always()
7878 uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
1818 with :
1919 node-version : 12
2020 registry-url : https://registry.npmjs.org/
21- - run : yarn install --frozen-lockfile
21+ - run : npm ci
2222 - run : git config --global user.name "GitHub CD bot"
2323 - 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 }}
2525 # - run: yarn run build
2626 # - run: yarn test
27- - run : yarn publish --verbose --access public --tag latest
27+ - run : npm publish --verbose --access public --tag latest
2828 env :
2929 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3030 - run : git add package.json
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ node_modules/
22dist /
33build /
44npm-debug.log
5- package-lock.json
65vendor /
76.idea /
87.phpunit.result.cache
You can’t perform that action at this time.
0 commit comments