fix: wait for publish operation to complete before reporting success #635
Workflow file for this run
This file contains hidden or 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: # rebuild any PRs and main branch changes | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - "releases/*" | |
| jobs: | |
| build: # make sure build/ci work properly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: pnpm/[email protected] | |
| with: | |
| version: latest | |
| - name: Use Node.js 16.x | |
| uses: actions/[email protected] | |
| with: | |
| node-version: 16.x | |
| - run: pnpm i | |
| - run: pnpm clean | |
| - run: pnpm build | |
| - run: pnpm dlx @plasmohq/mystic-box test-zip 0.0.8 | |
| - uses: PlasmoHQ/soft-secret@v1 | |
| with: | |
| secret: ${{ secrets.TEST_KEY }} | |
| target: "key.json" | |
| - run: pnpm test |