@@ -51,30 +51,31 @@ jobs:
5151 - name : Lint ✨
5252 run : npm run lint
5353
54- # Release:
55- # needs: [Test, Lint]
56- # if: github.ref == 'refs/heads/master' &&
57- # github.event.repository.fork == false
58- # runs-on: ubuntu-latest
59- # steps:
60- # - uses: actions/checkout@v2
61- # - uses: UziTech/action-setup-atom@v1
62- # - uses: actions/setup-node@v1
63- # with:
64- # node-version: "12.x"
65- # - name: NPM install
66- # run: npm install
67- # - name: Build and Commit
68- # run: npm run build-commit
69- # # NOTE: uncomment when ready
70- # # - name: Release 🎉
71- # # uses: cycjimmy/semantic-release-action@v2
72- # # with:
73- # # extends: |
74- # # @semantic-release/apm-config
75- # # env:
76- # # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77- # # ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
54+ Release :
55+ needs : [Test, Lint]
56+ if : github.ref == 'refs/heads/master' &&
57+ github.event.repository.fork == false
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v2
61+ - uses : UziTech/action-setup-atom@v1
62+ - uses : actions/setup-node@v1
63+ with :
64+ node-version : " 12.x"
65+ - name : NPM install
66+ run : npm install
67+
68+ # - name: Build and Commit
69+ # run: npm run build-commit
70+
71+ - name : Release 🎉
72+ uses : cycjimmy/semantic-release-action@v2
73+ with :
74+ extends : |
75+ @semantic-release/apm-config
76+ env :
77+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78+ ATOM_ACCESS_TOKEN : ${{ secrets.ATOM_ACCESS_TOKEN }}
7879
7980 Skip :
8081 if : contains(github.event.head_commit.message, '[skip ci]')
0 commit comments