Skip to content

Commit 384424a

Browse files
committed
ci(semantic-release): enable semantic-release
1 parent e4d767f commit 384424a

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ jobs:
3131
- run: yarn
3232
- run: yarn test
3333
- run: yarn lint
34-
#deploy:
35-
# name: Deploy
36-
# runs-on: ubuntu-latest
37-
# needs: build-and-test
38-
# steps:
39-
# - name: Find yarn cache
40-
# id: find-yarn-cache
41-
# run: echo "::set-output name=dir::$(yarn cache dir)"
42-
# - name: git checkout
43-
# uses: actions/checkout@v3
44-
# - name: Cache yarn dependencies
45-
# uses: actions/cache@v3
46-
# with:
47-
# path: ${{steps.find-yarn-cache.outputs.dir}}
48-
# key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
49-
# restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
50-
# - name: Set up Node.js
51-
# uses: actions/setup-node@v3
52-
# with:
53-
# node-version: ${{env.DEPLOY_NODE_VERSION}}
54-
# - run: yarn
55-
# - run: yarn semantic-release
34+
deploy:
35+
name: Deploy
36+
runs-on: ubuntu-latest
37+
needs: build-and-test
38+
steps:
39+
- name: Find yarn cache
40+
id: find-yarn-cache
41+
run: echo "::set-output name=dir::$(yarn cache dir)"
42+
- name: git checkout
43+
uses: actions/checkout@v3
44+
- name: Cache yarn dependencies
45+
uses: actions/cache@v3
46+
with:
47+
path: ${{steps.find-yarn-cache.outputs.dir}}
48+
key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
49+
restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
50+
- name: Set up Node.js
51+
uses: actions/setup-node@v3
52+
with:
53+
node-version: ${{env.DEPLOY_NODE_VERSION}}
54+
- run: yarn
55+
- run: yarn semantic-release

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"private": true,
32
"name": "@softwareventures/async-iterator",
43
"version": "0.0.0-development",
54
"description": "Pure functional AsyncIterator traversal",
@@ -141,5 +140,8 @@
141140
"release": {
142141
"extends": "@softwareventures/semantic-release-config"
143142
},
144-
"packageManager": "yarn@3.2.4"
143+
"packageManager": "yarn@3.2.4",
144+
"publishConfig": {
145+
"access": "public"
146+
}
145147
}

0 commit comments

Comments
 (0)