Skip to content

Commit e0b2e8c

Browse files
committed
chore(semantic-release): enable semantic-release
1 parent 74c8a5c commit e0b2e8c

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ jobs:
2828
- run: corepack yarn
2929
- run: corepack yarn test
3030
- run: corepack yarn lint
31-
#deploy:
32-
# name: Deploy
33-
# runs-on: ubuntu-latest
34-
# needs: build-and-test
35-
# steps:
36-
# - name: git checkout
37-
# uses: actions/checkout@v4
38-
# - name: yarn cache
39-
# uses: actions/cache@v4
40-
# with:
41-
# path: ~/.yarn/berry/cache
42-
# key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
43-
# restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
44-
# - name: Set up Node.js
45-
# uses: actions/setup-node@v4
46-
# with:
47-
# node-version: ${{env.DEPLOY_NODE_VERSION}}
48-
# - run: corepack yarn
49-
# - run: corepack yarn semantic-release
31+
deploy:
32+
name: Deploy
33+
runs-on: ubuntu-latest
34+
needs: build-and-test
35+
steps:
36+
- name: git checkout
37+
uses: actions/checkout@v4
38+
- name: yarn cache
39+
uses: actions/cache@v4
40+
with:
41+
path: ~/.yarn/berry/cache
42+
key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
43+
restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
44+
- name: Set up Node.js
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: ${{env.DEPLOY_NODE_VERSION}}
48+
- run: corepack yarn
49+
- run: corepack yarn semantic-release

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@
7979
"release": {
8080
"extends": "@softwareventures/semantic-release-config"
8181
},
82-
"packageManager": "yarn@4.1.1"
82+
"packageManager": "yarn@4.1.1",
83+
"publishConfig": {
84+
"access": "public"
85+
}
8386
}

0 commit comments

Comments
 (0)