Skip to content

Commit 0151e87

Browse files
committed
build
1 parent 366d2dd commit 0151e87

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

β€Ž.github/workflows/build.ymlβ€Ž

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
build-artifacts:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
matrix:
11-
os: [windows-latest, macos-latest, ubuntu-latest]
7+
make-release-candidate:
8+
permissions:
9+
contents: write
1210
steps:
1311
- name: Checkout Repository πŸ“₯
1412
uses: actions/checkout@v4
@@ -32,6 +30,22 @@ jobs:
3230
env:
3331
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3432

33+
build-artifacts:
34+
needs: make-release-candidate
35+
runs-on: ${{ matrix.os }}
36+
strategy:
37+
matrix:
38+
os: [windows-latest, macos-latest, ubuntu-latest]
39+
steps:
40+
- name: Checkout Repository πŸ“₯
41+
uses: actions/checkout@v4
42+
43+
- name: Setup Node.js 🌐
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version: '20.x'
47+
cache: 'yarn'
48+
3549
- name: Install and Build πŸ“¦
3650
run: |
3751
yarn
@@ -126,8 +140,8 @@ jobs:
126140
# - name: List Bucket Contents
127141
# run: aws s3 ls s3://supabase-public-artifacts-bucket/
128142

129-
- name: Publish to NPM πŸš€
130-
run: |
131-
npm publish
132-
env:
133-
NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}}
143+
# - name: Publish to NPM πŸš€
144+
# run: |
145+
# npm publish
146+
# env:
147+
# NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}}

0 commit comments

Comments
Β (0)