Skip to content

Commit

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

Please sign in to comment.