Skip to content

Commit

Permalink
fix: tune a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Dec 2, 2023
1 parent 4956c6e commit 6c3d3e5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,25 @@ jobs:
with:
node-version: lts/*
check-latest: true
- run: npm install
- run: npm install --no-package-lock
name: Install dependencies
- run: ls -all
- run: npm run test
name: Run NPM Test
- run: ls -all
- run: |
rm -rf node_modules
rm -rf package-lock.json
npm prune --omit=dev --omit=peer
npm prune --omit=dev --omit=peer --no-package-lock
name: Remove dev dependencies and appium peer dependencies
- run: npm shrinkwrap
name: Create shrinkwrap
- run: ls -all
# "--no-package-lock" prevent adding dev dependencies
- run: npm install --only=dev --no-package-lock
name: Install dev dependencies for the release
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Release
# - run: npx semantic-release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# name: Release

0 comments on commit 6c3d3e5

Please sign in to comment.