Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'yarn' by 'npm' #38

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
run: npm install
- name: Run ESLint
run: yarn run lint
run: npm run lint

jest:
runs-on: ubuntu-latest
Expand All @@ -70,9 +70,9 @@ jobs:
with:
node-version: '15'
- name: Install dependencies
run: yarn install
run: npm install
- name: Run Jest
run: yarn test --coverage --coverageDirectory=test-results/jest
run: npm run test --coverage --coverageDirectory=test-results/jest
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
- run: npm ci
- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "[email protected]"
- run: yarn version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
# - run: yarn run build
# - run: yarn test
- run: yarn publish --verbose --access public --tag latest
- run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
# - run: npm run build
# - run: npm run test
- run: npm publish --verbose --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git add package.json
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ node_modules/
dist/
build/
npm-debug.log
package-lock.json
vendor/
.idea/
.phpunit.result.cache
Expand Down
Loading
Loading