10
10
11
11
jobs :
12
12
build :
13
- name : Build
13
+ name : Build and Test
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v3
@@ -27,35 +27,35 @@ jobs:
27
27
- name : Tests
28
28
run : yarn run test
29
29
30
- maybe-release :
31
- name : release
32
- runs-on : ubuntu-latest
33
- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
34
- steps :
35
- - uses : google-github-actions/release-please-action@v3
36
- id : release
37
- with :
38
- release-type : node
39
- package-name : release-please-action
40
- changelog-types : ' [{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":true}]'
41
-
42
- - uses : actions/checkout@v3
43
- if : ${{ steps.release.outputs.release_created }}
44
-
45
- - uses : actions/setup-node@v3
46
- with :
47
- cache : ' yarn'
48
- node-version : 18
49
- registry-url : ' https://registry.npmjs.org'
50
- if : ${{ steps.release.outputs.release_created }}
51
-
52
- - run : yarn install --frozen-lockfile
53
- if : ${{ steps.release.outputs.release_created }}
54
-
55
- - run : yarn build
56
- if : ${{ steps.release.outputs.release_created }}
57
-
58
- - run : yarn publish --access public
59
- env :
60
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
61
- if : ${{ steps.release.outputs.release_created }}
30
+ # maybe-release:
31
+ # name: release
32
+ # runs-on: ubuntu-latest
33
+ # if: github.event_name == 'push' && github.ref == 'refs/heads/master'
34
+ # steps:
35
+ # - uses: google-github-actions/release-please-action@v3
36
+ # id: release
37
+ # with:
38
+ # release-type: node
39
+ # package-name: release-please-action
40
+ # changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":true}]'
41
+ #
42
+ # - uses: actions/checkout@v3
43
+ # if: ${{ steps.release.outputs.release_created }}
44
+ #
45
+ # - uses: actions/setup-node@v3
46
+ # with:
47
+ # cache: 'yarn'
48
+ # node-version: 18
49
+ # registry-url: 'https://registry.npmjs.org'
50
+ # if: ${{ steps.release.outputs.release_created }}
51
+ #
52
+ # - run: yarn install --frozen-lockfile
53
+ # if: ${{ steps.release.outputs.release_created }}
54
+ #
55
+ # - run: yarn build
56
+ # if: ${{ steps.release.outputs.release_created }}
57
+ #
58
+ # - run: yarn publish --access public
59
+ # env:
60
+ # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
61
+ # if: ${{ steps.release.outputs.release_created }}
0 commit comments