Skip to content

Commit

Permalink
Merge pull request #93 from gleamy-js/fix/deployment-issue
Browse files Browse the repository at this point in the history
chore: add dry-run to the test-phase
  • Loading branch information
gitaarwerk authored Jul 10, 2024
2 parents 94600d5 + 6711fd9 commit 803f0e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
version: 9.5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
env:
node-version: ${{ matrix.node-version }}
NODE_ENV: production
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
registry-url: 'https://registry.npmjs.org'
- run: pnpm install
- run: echo "publishing version ${{ env.RELEASE_VERSION }}"
- run: pnpm version ${{ env.RELEASE_VERSION }}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ jobs:
version: 9.5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
env:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
NODE_ENV: production
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
- run: pnpm install -r
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run build
- run: pnpm run dry-run
env:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
NODE_ENV: production
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

0 comments on commit 803f0e0

Please sign in to comment.