Skip to content

Commit 573a9fc

Browse files
committed
build(semantic-release): enable semantic-release
1 parent 16ab793 commit 573a9fc

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
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@v2
44-
# - name: Cache yarn dependencies
45-
# uses: actions/cache@v1
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@v1
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@v2
44+
- name: Cache yarn dependencies
45+
uses: actions/cache@v1
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@v1
52+
with:
53+
node-version: ${{env.DEPLOY_NODE_VERSION}}
54+
- run: yarn
55+
- run: yarn semantic-release

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"private": true,
32
"name": "resolve-typescript-plugin",
43
"version": "0.0.0-development",
54
"description": "webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects",
@@ -62,5 +61,8 @@
6261
},
6362
"release": {
6463
"extends": "@softwareventures/semantic-release-config"
64+
},
65+
"publishConfig": {
66+
"access": "public"
6567
}
6668
}

0 commit comments

Comments
 (0)