Merge pull request #428 from adaptive/dependabot/npm_and_yarn/main/pr… #1180
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: [16, 17-nightly, 18, 19-nightly, 20] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- 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 |