Skip to content

Commit

Permalink
chore: update publish.js.yml (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Dec 2, 2023
1 parent b212393 commit d1e4005
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 @@ -14,19 +14,18 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: lts/*
- 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 d1e4005

Please sign in to comment.