|
1 |
| -name: Debugging |
| 1 | +# name: Debugging |
2 | 2 |
|
3 |
| -on: |
4 |
| - push: |
5 |
| - branches: |
6 |
| - - joeyklee.devops-debugging |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - joeyklee.devops-debugging |
7 | 7 |
|
8 |
| -jobs: |
9 |
| - debugging: |
10 |
| - runs-on: ubuntu-latest |
11 |
| - steps: |
12 |
| - - uses: actions/checkout@v2 |
13 |
| - with: |
14 |
| - persist-credentials: false |
15 |
| - - name: Reconfigure git to use HTTP authentication |
16 |
| - run: > |
17 |
| - git config --global url."https://github.com/".insteadOf |
18 |
| - |
19 |
| - - uses: actions/setup-node@v2 |
20 |
| - with: |
21 |
| - node-version: "12.x" |
22 |
| - registry-url: https://registry.npmjs.org/ |
23 |
| - # - uses: release-drafter/release-drafter@v5 |
24 |
| - # id: release_drafter |
25 |
| - # env: |
26 |
| - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
27 |
| - - uses: pozetroninc/github-action-get-latest-release@master |
28 |
| - id: latest_release |
29 |
| - with: |
30 |
| - repository: ${{ github.repository }} |
31 |
| - - run: echo "bumping package to ${{ steps.latest_release.outputs.release }}" |
32 |
| - # bump the package version |
33 |
| - # - run: echo "name ${{ steps.release_drafter.outputs.name }}" |
34 |
| - - run: npm run update:packageVersion ${{ steps.latest_release.outputs.release }} |
35 |
| - # # update the readme |
36 |
| - - run: npm run update:readme |
37 |
| - # # install to update package-lock.json |
38 |
| - # - run: npm ci |
39 |
| - - name: Commit |
40 |
| - run: | |
41 |
| - git config --global user.name 'ml5' |
42 |
| - git config --global user.email '[email protected]' |
43 |
| - git commit -am "bumps package, readme, and package-lock" |
44 |
| - - name: Push changes |
45 |
| - uses: ad-m/github-push-action@master |
46 |
| - with: |
47 |
| - github_token: ${{ secrets.ML5_LIBRARY_PAT }} |
48 |
| - branch: ${{ github.ref }} |
49 |
| - # - run: echo "passed npm ci" |
50 |
| - # run the build |
51 |
| - # - run: npm run build |
52 |
| - # - run: echo "passed build" |
53 |
| - # run the build |
54 |
| - # - run: npm publish ${{ steps.release_drafter.outputs.tag_name }} |
| 8 | +# jobs: |
| 9 | +# debugging: |
| 10 | +# runs-on: ubuntu-latest |
| 11 | +# steps: |
| 12 | +# - uses: actions/checkout@v2 |
| 13 | +# with: |
| 14 | +# persist-credentials: false |
| 15 | +# - name: Reconfigure git to use HTTP authentication |
| 16 | +# run: > |
| 17 | +# git config --global url."https://github.com/".insteadOf |
| 18 | + |
| 19 | +# - uses: actions/setup-node@v2 |
| 20 | +# with: |
| 21 | +# node-version: "12.x" |
| 22 | +# registry-url: https://registry.npmjs.org/ |
| 23 | +# # - uses: release-drafter/release-drafter@v5 |
| 24 | +# # id: release_drafter |
| 25 | +# # env: |
| 26 | +# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 27 | +# - uses: pozetroninc/github-action-get-latest-release@master |
| 28 | +# id: latest_release |
| 29 | +# with: |
| 30 | +# repository: ${{ github.repository }} |
| 31 | +# - run: echo "bumping package to ${{ steps.latest_release.outputs.release }}" |
| 32 | +# # bump the package version |
| 33 | +# # - run: echo "name ${{ steps.release_drafter.outputs.name }}" |
| 34 | +# - run: npm run update:packageVersion ${{ steps.latest_release.outputs.release }} |
| 35 | +# # # update the readme |
| 36 | +# - run: npm run update:readme |
| 37 | +# # # install to update package-lock.json |
| 38 | +# # - run: npm ci |
| 39 | +# - name: Commit |
| 40 | +# run: | |
| 41 | +# git config --global user.name 'ml5' |
| 42 | +# git config --global user.email '[email protected]' |
| 43 | +# git commit -am "bumps package, readme, and package-lock" |
| 44 | +# - name: Push changes |
| 45 | +# uses: ad-m/github-push-action@master |
| 46 | +# with: |
| 47 | +# github_token: ${{ secrets.ML5_LIBRARY_PAT }} |
| 48 | +# branch: ${{ github.ref }} |
| 49 | +# # - run: echo "passed npm ci" |
| 50 | +# # run the build |
| 51 | +# # - run: npm run build |
| 52 | +# # - run: echo "passed build" |
| 53 | +# # run the build |
| 54 | +# # - run: npm publish ${{ steps.release_drafter.outputs.tag_name }} |
0 commit comments