chore(deps): update dependency @testing-library/jest-dom to v6.6.3 #1839
Workflow file for this run
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: release | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .github/workflows/release.yaml | |
- manifest.json | |
- package.json | |
- pnpm-lock.yaml | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/release.yaml | |
- manifest.json | |
- package.json | |
- pnpm-lock.yaml | |
tags: | |
- '*' | |
jobs: | |
zip: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
- run: corepack enable pnpm | |
- run: pnpm i | |
- run: pnpm run build | |
- run: sed -i -e "s|0.0.0.0|$GITHUB_REF_NAME|" dist/manifest.json | |
- run: cd dist && zip -r ../dist.zip . | |
- run: zipinfo dist.zip | |
- if: github.event_name == 'pull_request' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist.zip | |
path: dist.zip | |
- if: github.ref_type == 'tag' | |
run: gh release upload "${{ github.ref_name }}" dist.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |