Skip to content

Commit

Permalink
Get back to NPM only on GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Sep 21, 2023
1 parent ef7854f commit 5b58bd7
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm install
- run: npm run build --if-present
- run: npm test -- --coverage
- name: Codecov
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/e2e-test.yml
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run build --if-present
- run: pnpm run test:e2e
cache: 'npm'
# - uses: pnpm/action-setup@v2
# with:
# version: 8
- run: npm install
- run: npm run build --if-present
- run: npm run test:e2e
26 changes: 13 additions & 13 deletions .github/workflows/node-ci.yml
Expand Up @@ -19,13 +19,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run build --if-present
- run: pnpm test
cache: 'npm'
# - uses: pnpm/action-setup@v2
# with:
# version: 8
- run: npm install
- run: npm run build --if-present
- run: npm test
lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -35,9 +35,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run lint
cache: 'npm'
# - uses: pnpm/action-setup@v2
# with:
# version: 8
- run: npm install
- run: npm run lint
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Expand Up @@ -13,12 +13,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm ci
- run: pnpm run build:release
cache: 'npm'
# - uses: pnpm/action-setup@v2
# with:
# version: 8
- run: npm install
- run: npm run build:release
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5b58bd7

Please sign in to comment.