Skip to content

Commit fcacbb1

Browse files
committed
chore(release): Fix workflow
1 parent 842d228 commit fcacbb1

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,20 @@ concurrency:
99

1010
permissions:
1111
contents: write
12-
pages: write
12+
issues: write
13+
pull-requests: write
1314
id-token: write
1415

16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
1519
jobs:
16-
build:
17-
uses: ./.github/workflows/ci.yml
20+
# build:
21+
# uses: ./.github/workflows/ci.yml
1822

1923
deploy:
2024
runs-on: ubuntu-latest
21-
needs: [build]
25+
# needs: [build]
2226
permissions:
2327
contents: write
2428
issues: write
@@ -27,18 +31,20 @@ jobs:
2731

2832
steps:
2933
- uses: actions/checkout@v4
34+
with:
35+
fetch-depth: 0
3036
- uses: actions/setup-node@v4
3137
with:
3238
node-version-file: .nvmrc
3339
cache: yarn
3440
- run: yarn install --immutable
3541
- run: cp ./README.md ./package/README.md
3642
- run: yarn build
37-
- run: yarn release
43+
- run: yarn release -- --dry-run --debug
3844
env:
39-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4046
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4147

42-
pages:
43-
uses: ./.github/workflows/pages.yml
44-
needs: [deploy]
48+
# pages:
49+
# uses: ./.github/workflows/pages.yml
50+
# needs: [deploy]

package/.releaserc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/semantic-release",
3+
"repositoryUrl": "https://github.com/stackbuilders/react-native-spotlight-tour.git",
34
"branches": ["main"],
45
"plugins": [
56
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)