Skip to content

chore(deps): update dependency @types/chrome to v0.0.283 (#910) #1896

chore(deps): update dependency @types/chrome to v0.0.283 (#910)

chore(deps): update dependency @types/chrome to v0.0.283 (#910) #1896

Workflow file for this run

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 }}