@@ -4,10 +4,8 @@ name: release
44on :
55 push :
66 branches :
7- - " master"
8- - " ci"
9- paths :
10- - package.json
7+ - master
8+ - ci
119
1210jobs :
1311 build_and_publish :
@@ -18,69 +16,70 @@ jobs:
1816 fetch-depth : 0
1917 submodules : true
2018
21- - name : Set up Node
22- uses : actions/setup-node@v1
23- with :
24- node-version : 16
19+ # - name: Set up Node
20+ # uses: actions/setup-node@v1
21+ # with:
22+ # node-version: 16
2523
26- - name : Set up Deno
27- uses : denoland/setup-deno@v1
28- with :
29- deno-version : v1.24.x
24+ # - name: Set up Deno
25+ # uses: denoland/setup-deno@v1
26+ # with:
27+ # deno-version: v1.24.x
3028
31- - name : Install deps and build
32- run : |
33- yarn install
34- yarn build
29+ # - name: Install deps and build
30+ # run: |
31+ # yarn
32+ # yarn workspaces run build
3533
36- - id : publish
37- name : Publish to NPM
38- uses : JS-DevTools/npm-publish@v1
39- with :
40- token : ${{ secrets.NPM_TOKEN }}
41- dry-run : false
34+ # - id: publish
35+ # name: Publish to NPM
36+ # uses: JS-DevTools/npm-publish@v1
37+ # with:
38+ # package: packages/driver/package.json
39+ # token: ${{ secrets.NPM_TOKEN }}
40+ # dry-run: false
4241
43- - name : If Publish
44- if : steps.publish.outputs.type != 'none'
45- run : |
46- echo "Published ${{ steps.publish.outputs.type }} version: ${{ steps.publish.outputs.version }}"
42+ # - name: If Publish
43+ # if: steps.publish.outputs.type != 'none'
44+ # run: |
45+ # echo "Published ${{ steps.publish.outputs.type }} version: ${{ steps.publish.outputs.version }}"
4746
48- - name : If Version Unchanged
49- if : steps.publish.outputs.type == 'none'
50- run : |
51- echo "Version in package.json has not changed. Skipping."
47+ # - name: If Version Unchanged
48+ # if: steps.publish.outputs.type == 'none'
49+ # run: |
50+ # echo "Version in package.json has not changed. Skipping."
5251
53- - name : Write Changelog Config
54- run : |
55- echo '{"categories": [], "template": "## Commits:\n\n${{ '${{UNCATEGORIZED}}' }}", "pr_template": ${{ '"- ${{MERGE_SHA}} ${{TITLE}}"' }} }' > changelog_config.json
56- cat changelog_config.json
52+ # - name: Write Changelog Config
53+ # run: |
54+ # echo '{"categories": [], "template": "## Commits:\n\n${{ '${{UNCATEGORIZED}}' }}", "pr_template": ${{ '"- ${{MERGE_SHA}} ${{TITLE}}"' }} }' > changelog_config.json
55+ # cat changelog_config.json
5756
58- - name : Changelog Vars
59- run : |
60- echo "last_tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
61- echo "curr_commit=$(git rev-parse HEAD)" >> $GITHUB_ENV
57+ # - name: Changelog Vars
58+ # run: |
59+ # echo "last_tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
60+ # echo "curr_commit=$(git rev-parse HEAD)" >> $GITHUB_ENV
6261
63- - name : Build Changelog
64- id : github_release
65- 66- env :
67- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68- with :
69- fromTag : " ${{ env.last_tag }}"
70- toTag : ${{ github.ref }}
71- commitMode : true
72- configuration : changelog_config.json
62+ # - name: Build Changelog
63+ # id: github_release
64+ # uses: mikepenz/[email protected] 65+ # env:
66+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67+ # with:
68+ # fromTag: "${{ env.last_tag }}"
69+ # toTag: ${{ github.ref }}
70+ # commitMode: true
71+ # configuration: changelog_config.json
7372
74- - name : Create Release
75- if : steps.publish.outputs.type != 'none'
76- id : create_release
77- uses : actions/create-release@latest
78- env :
79- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80- with :
81- tag_name : v${{ steps.publish.outputs.version }}
82- release_name : v${{ steps.publish.outputs.version }}
83- commitish : ${{ github.ref }}
84- body : ${{steps.github_release.outputs.changelog}}
85- draft : false
86- prerelease : false
73+ # - name: Create Release
74+ # if: steps.publish.outputs.type != 'none'
75+ # id: create_release
76+ # uses: actions/create-release@latest
77+ # env:
78+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79+ # with:
80+ # tag_name: v${{ steps.publish.outputs.version }}
81+ # release_name: v${{ steps.publish.outputs.version }}
82+ # commitish: ${{ github.ref }}
83+ # body: ${{steps.github_release.outputs.changelog}}
84+ # draft: true
85+ # prerelease: false
0 commit comments