Skip to content

Commit ad22166

Browse files
committed
replace 'yarn' by 'npm'
1 parent 4c0108b commit ad22166

File tree

5 files changed

+11126
-6755
lines changed

5 files changed

+11126
-6755
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ jobs:
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
@@ -70,9 +70,9 @@ jobs:
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

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff 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

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ node_modules/
22
dist/
33
build/
44
npm-debug.log
5-
package-lock.json
65
vendor/
76
.idea/
87
.phpunit.result.cache

0 commit comments

Comments
 (0)