Merge pull request #587 from adaptive/dependabot/npm_and_yarn/main/ro… #1525
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.12.1 | |
- uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- name: PNPM Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Pack and Unpack | |
run: pnpm pack && tar -xvzf *.tgz | |
- name: Test | |
run: pnpm test | |
- name: Delete /package and *.tgz | |
run: rm -rf package && rm -rf *.tgz | |
- name: Publish Dry Run | |
run: pnpm publish --dry-run --no-git-checks |