Skip to content

Merge remote-tracking branch 'refs/remotes/template/forks/polyipseity' #99

Merge remote-tracking branch 'refs/remotes/template/forks/polyipseity'

Merge remote-tracking branch 'refs/remotes/template/forks/polyipseity' #99

Workflow file for this run

jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
cache: npm
node-version: '*'
- run: npm ci
- run: npm run build
- run: |
npm pack --pack-destination=.github
for file in .github/*.tgz; do mv "$file" "${file%-*}.tgz"; done
- if: ${{github.ref == 'refs/tags/latest'}}
env:
GH_TOKEN: ${{github.token}}
run: |
gh release upload latest .github/*.tgz main.js manifest.json styles.css --clobber
build-pnpm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v2
with:
version: '*'
- uses: actions/setup-node@v3
with:
cache: pnpm
node-version: '*'
- run: pnpm install
- run: pnpm build
on:
push:
tags:
- latest
workflow_dispatch:
permissions: {}