348ff9f66a
Switch on package publishing for sync libraries so we can start building templates on the canaries. ### Change type - [x] `other`
30 lines
765 B
YAML
30 lines
765 B
YAML
name: Publish Canary Packages
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
name: 'Publish Canary Packages'
|
|
environment: npm deploy
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest-16-cores-open
|
|
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Run our setup
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Publish Canary Packages
|
|
run: yarn tsx ./scripts/publish-canary.ts
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
|
R2_ACCESS_KEY_SECRET: ${{ secrets.R2_ACCESS_KEY_SECRET }}
|
|
TLDRAW_BEMO_URL: https://canary-demo.tldraw.xyz
|