Skip to content

Create workflow for testing safari build #1

Create workflow for testing safari build

Create workflow for testing safari build #1

Workflow file for this run

name: safari-build
on: push
jobs:
publish:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- run: npm ci
- name: Build extension
run: npm run build
env:
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- run: |
jq --arg version "$VERSION" '.version=$version' dist/manifest.json > manifest.tmp.json \
&& mv manifest.tmp.json dist/manifest.json
env:
VERSION: "0.4.6"
- name: Convert to Safari extension
run: xcrun safari-web-extension-converter ./dist