Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchbuch committed Mar 5, 2024
1 parent cbc5a95 commit 547037d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# https://github.com/actions/setup-node/issues/32#issuecomment-525791142
- name: Get Node Version
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: '${{ vars.NODE_VERSION }}'
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
Expand All @@ -41,15 +36,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# https://github.com/actions/setup-node/issues/32#issuecomment-525791142
- name: Get Node Version
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: '${{ vars.NODE_VERSION }}'
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
Expand Down

0 comments on commit 547037d

Please sign in to comment.