Skip to content

Commit 379d6c2

Browse files
authored
updated github action for release (#7)
1 parent 4a8663b commit 379d6c2

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
name: Build
13+
name: Build and Test
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
@@ -27,35 +27,35 @@ jobs:
2727
- name: Tests
2828
run: yarn run test
2929

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

Comments
 (0)