diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f38c4b66..c1e2e6d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,13 @@ on: jobs: deploy: + permissions: + checks: write + contents: read + id-token: write + packages: write + pull-requests: write + statuses: write runs-on: - ${{ github.repository_owner != github.actor && 'ubuntu-latest' || 'self-hosted' }} @@ -49,3 +56,15 @@ jobs: - name: Build run: pnpm build:chrome + + - name: Zip the packages + run: | + pushd dist + zip -r chrome.zip chrome + popd + + - name: Upload build artifact + uses: actions/upload-artifact@v2 + with: + name: chrome + path: ./dist/chrome.zip