Skip to content

Commit 298e608

Browse files
committedJul 5, 2024·
feat(ci): nightly
1 parent 016764d commit 298e608

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
 

‎.github/workflows/nightly.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Supabase (Nightly)
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
nightly:
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest]
11+
node: [20]
12+
13+
runs-on: ${{ matrix.os }}
14+
permissions:
15+
id-token: write
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4 # v4
19+
- name: Add pnpm
20+
run: corepack enable
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
registry-url: "https://registry.npmjs.org/"
25+
cache: "pnpm"
26+
- name: Install dependencies
27+
run: pnpm install
28+
- name: Prepare
29+
run: pnpm dev:prepare
30+
- name: Build
31+
run: pnpm build
32+
- name: Release Nightly
33+
run: pnpm changelogen --bump --canary --publish --publishTag nightly
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
36+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)
Please sign in to comment.