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

chore: update publish.js.yml #696

Merged
merged 1 commit into from
Dec 2, 2023
Merged
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
11 changes: 5 additions & 6 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ jobs:
with:
node-version: lts/*
check-latest: true
- run: npm install
- run: npm install --no-package-lock
name: Install dependencies
- run: npm run test
name: Run NPM Test
- run: |
rm -rf package-lock.json
rm -rf package-lock.json node_modules
# Remove dev and peer dependencies from node_modules
npm prune --omit=dev --omit=peer
rm -rf node_modules/appium
npm prune --omit=dev --omit=peer --no-package-lock
name: Remove dev dependencies and appium peer dependencies
- run: npm shrinkwrap
- run: npm shrinkwrap --omit=dev --omit=peer
name: Create shrinkwrap
- run: npm install --only=dev
- run: npm install --only=dev --no-package-lock
name: Install dev dependencies for the release
- run: npx semantic-release
env:
Expand Down