Skip to content

Commit

Permalink
chore: update publish.js.yml (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Dec 2, 2023
1 parent a102fc7 commit 0c5936a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,18 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: gradle
- 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

0 comments on commit 0c5936a

Please sign in to comment.