Skip to content

Commit 7fc22b6

Browse files
committed
chore(release): Check tokens access
1 parent 21741db commit 7fc22b6

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
name: Release
22

33
on:
4+
push:
45
workflow_dispatch:
56

67
concurrency:
78
group: release
89
cancel-in-progress: true
910

10-
permissions:
11-
contents: read
12-
pages: write
13-
id-token: write
11+
# permissions:
12+
# contents: read
13+
# pages: write
14+
# id-token: write
1415

1516
jobs:
16-
build:
17-
uses: ./.github/workflows/ci.yml
17+
# build:
18+
# uses: ./.github/workflows/ci.yml
1819

1920
deploy:
2021
runs-on: ubuntu-latest
21-
needs: [build]
22+
# needs: [build]
2223
permissions:
2324
contents: write
2425
issues: write
@@ -34,11 +35,11 @@ jobs:
3435
- run: yarn install --immutable
3536
- run: cp ./README.md ./package/README.md
3637
- run: yarn build
37-
- run: yarn release
38+
- run: cd package/ && npx semantic-release
3839
env:
3940
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
# YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4142

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

package/.releaserc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"$schema": "https://json.schemastore.org/semantic-release",
33
"repositoryUrl": "https://github.com/stackbuilders/react-native-spotlight-tour.git",
4-
"branches": ["main"],
4+
"branches": ["chore/check-tokens-access"],
55
"plugins": [
66
"@semantic-release/commit-analyzer",
77
"@semantic-release/release-notes-generator",
8-
"semantic-release-yarn",
98
"@semantic-release/github"
109
]
1110
}

0 commit comments

Comments
 (0)