deno.land / x / yargs@v17.6.0-deno / .github / workflows / release-please.yml

release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on: push: branches: - mainname: release-pleasejobs: release-please: runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 id: release with: token: ${{ secrets.GITHUB_TOKEN }} release-type: node package-name: yargs - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 14 - run: npm install npm@latest -g - run: npm install - run: npm run compile - name: push Deno release run: | git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/yargs/yargs.git" git checkout -b deno git add -f build git commit -a -m 'chore: ${{ steps.release.outputs.tag_name }} release' git push origin +deno git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release' git push origin ${{ steps.release.outputs.tag_name }}-deno if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v1 with: node-version: 14 registry-url: 'https://external-dot-oss-automation.appspot.com/' if: ${{ steps.release.outputs.release_created }} - run: npm install if: ${{ steps.release.outputs.release_created }} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.release.outputs.release_created }}
yargs

Version Info

Tagged at
a year ago