Skip to content

Commit

Permalink
fix prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed Jan 21, 2025
1 parent eeef163 commit a5b572e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
56 changes: 30 additions & 26 deletions .github/workflows/experimental-release.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
name: Experimental Release

on:
push:
pull_request:
types: [closed]
branches:
- experimental

jobs:
release-experimental:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
# permissions:
# contents: read
# id-token: write

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build packages
run: npm run compile

- name: Publish experimental packages
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/core
npm publish --tag experimental
cd ../cli
npm publish --tag experimental
- run: echo "Hello experimental release"

# - uses: actions/checkout@v4

# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 20
# cache: 'npm'

# - name: Install dependencies
# run: npm ci

# - name: Build packages
# run: npm run compile

# - name: Publish experimental packages
# # env:
# # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: |
# cd packages/core
# npm publish --tag experimental
# cd ../cli
# npm publish --tag experimental
3 changes: 3 additions & 0 deletions .github/workflows/require-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v3
with:
# check out full history
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
Expand Down

0 comments on commit a5b572e

Please sign in to comment.