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

add package lock #398

Merged
merged 10 commits into from
Nov 20, 2024
20 changes: 14 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm run lint
- run: npm test
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: pnpm install
working-directory: examples
- run: pnpm run build
- run: pnpm run lint
- run: pnpm run test
deploy:
needs: build
runs-on: ubuntu-latest
Expand All @@ -33,8 +38,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm install
- run: npm run build --if-present
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: pnpm run build
# https://github.com/marketplace/actions/npm-publish
- uses: JS-DevTools/npm-publish@v2
with:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm run lint
- run: npm test
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: pnpm install
working-directory: examples
- run: pnpm run build
- run: pnpm run lint
- run: pnpm run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ npm-debug.log
.DS_Store
dist
*.tgz
package-lock.json
package-lock.json
53 changes: 0 additions & 53 deletions examples/package-lock.json

This file was deleted.

Loading
Loading