Skip to content

Commit

Permalink
fix: tune publish.js.yml further again
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Dec 2, 2023
1 parent 077935d commit 7fbada9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,19 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- run: npm install --no-package-lock
- run: npm install
name: Install dependencies
- run: npm run test
name: Run NPM Test
- run: |
rm -rf package-lock.json node_modules
npm prune --omit=dev --omit=peer --no-package-lock
rm -rf package-lock.json
- run: npm prune --omit=dev --omit=peer
name: Remove dev dependencies and appium peer dependencies
- run: npm shrinkwrap
name: Create shrinkwrap
Expand Down

0 comments on commit 7fbada9

Please sign in to comment.