Skip to content

Commit

Permalink
feat(ci): nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
larbish committed Jul 5, 2024
1 parent 016764d commit 298e608
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Supabase (Nightly)
on:
push:
branches:
- main
jobs:
nightly:
strategy:
matrix:
os: [ubuntu-latest]
node: [20]

runs-on: ${{ matrix.os }}
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4 # v4
- name: Add pnpm
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org/"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Prepare
run: pnpm dev:prepare
- name: Build
run: pnpm build
- name: Release Nightly
run: pnpm changelogen --bump --canary --publish --publishTag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 298e608

Please sign in to comment.