Skip to content

Commit

Permalink
Update auto release runner
Browse files Browse the repository at this point in the history
  • Loading branch information
j3lte committed Apr 13, 2023
1 parent 757a859 commit d953859
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,25 @@ jobs:
name: Build NPM package (On Demand)
runs-on: ubuntu-latest
steps:
- name: Check ref name
run: echo ${{ github.ref_name }}
# - name: Checkout
# uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

# - name: Setup Deno
# uses: denoland/setup-deno@v1
- name: Setup Deno
uses: denoland/setup-deno@v1

# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: 18.x
# registry-url: 'https://registry.npmjs.org'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'

# - name: Run Deno dnt
# run: deno task npm ${{ github.ref_name }}
- name: Run Deno dnt
run: deno task npm ${{ github.ref_name }}

# - name: Check Version
# run: cat ./npm/package.json | jq .version
- name: Check Version
run: cat ./npm/package.json | jq .version

# - name: Publish to NPM
# run: cd ./npm && yarn publish --verbose --access public --new-version ${{ github.ref_name }}
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}
- name: Publish to NPM
run: cd ./npm && yarn publish --verbose --access public --new-version ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}

0 comments on commit d953859

Please sign in to comment.