@@ -42,56 +42,36 @@ jobs:
42
42
# uses: wagoid/commitlint-github-action@v1
43
43
44
44
with :
45
- node-version : " 14.x "
45
+ node-version : " * "
46
46
- name : Install NPM dependencies
47
47
run : |
48
48
npm ci # uses locked module. use `npm install` for non-locked
49
49
- name : Lint ✨
50
50
run : npm run lint
51
51
52
- # Release:
53
- # needs: [Test, Lint]
54
- # if: github.ref == 'refs/heads/master' &&
55
- # github.event.repository.fork == false
56
- # runs-on: ubuntu-latest
57
- # steps:
58
- # - uses: actions/checkout@v2
59
- # - uses: UziTech/action-setup-atom@v1
60
- # - uses: actions/[email protected]
61
- # with:
62
- # node-version: "14.x"
63
- # - name: NPM install
64
- # run: npm ci
65
- # # - name: Build and Commit
66
- # # run: npm run build-commit
67
- # - name: Release 🎉
68
- # uses: cycjimmy/semantic-release-action@v2
69
- # with:
70
- # extends: |
71
- # @semantic-release/apm-config
72
- # env:
73
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74
- # ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
75
-
76
- # Automerge:
77
- # needs: [Test, Coverage, Lint]
78
- # runs-on: ubuntu-latest
79
- # if: |
80
- # github.actor == 'dependabot[bot]' &&
81
- # github.event_name == 'pull_request' &&
82
- # startsWith(github.event.pull_request.title, 'chore(deps-dev):')
83
- # steps:
84
- # - name: '@dependabot merge'
85
- # uses: actions/github-script@v2
86
- # with:
87
- # github-token: ${{secrets.GH_TOKEN}}
88
- # script: |
89
- # await github.issues.createComment({
90
- # owner: context.payload.repository.owner.login,
91
- # repo: context.payload.repository.name,
92
- # issue_number: context.payload.pull_request.number,
93
- # body: '@dependabot merge'
94
- # })
52
+ Release :
53
+ needs : [Test, Lint]
54
+ if : github.ref == 'refs/heads/master' &&
55
+ github.event.repository.fork == false
56
+ runs-on : ubuntu-latest
57
+ steps :
58
+ - uses : actions/checkout@v2
59
+ - uses : UziTech/action-setup-atom@v1
60
+
61
+ with :
62
+ node-version : " *"
63
+ - name : NPM install
64
+ run : npm ci
65
+ # - name: Build and Commit
66
+ # run: npm run build-commit
67
+ - name : Release 🎉
68
+ uses : cycjimmy/semantic-release-action@v2
69
+ with :
70
+ extends : |
71
+ @atom-ide-community/semantic-release-npm-config
72
+ env :
73
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
95
75
96
76
Skip :
97
77
if : contains(github.event.head_commit.message, '[skip ci]')
0 commit comments