Skip to content

Commit 4feb3fb

Browse files
committed
fix: release with semantic release
1 parent ada84e0 commit 4feb3fb

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@ jobs:
4646
- name: Lint ✨
4747
run: npm run lint
4848

49-
# Release:
50-
# needs: [Test, Lint]
51-
# if: |
52-
# github.ref == 'refs/heads/master' &&
53-
# github.event.repository.fork == false
54-
# runs-on: ubuntu-latest
55-
# steps:
56-
# - uses: actions/checkout@v1
57-
# - uses: UziTech/action-setup-atom@v1
58-
# - uses: actions/setup-node@v1
59-
# with:
60-
# node-version: '12.x'
61-
# - name: NPM install
62-
# run: npm ci
63-
# - name: Release 🎉
64-
# env:
65-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
# ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
67-
# run: npx semantic-release
49+
Release:
50+
needs: [Test, Lint]
51+
if: |
52+
github.ref == 'refs/heads/master' &&
53+
github.event.repository.fork == false
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v1
57+
- uses: UziTech/action-setup-atom@v1
58+
- uses: actions/setup-node@v1
59+
with:
60+
node-version: '12.x'
61+
- name: NPM install
62+
run: npm ci
63+
- name: Release 🎉
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
67+
run: npx semantic-release
6868

6969
Skip:
7070
if: contains(github.event.head_commit.message, '[skip ci]')

0 commit comments

Comments
 (0)