Skip to content

Commit

Permalink
Use setup node action
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Apr 29, 2024
1 parent cba87d1 commit 192f9e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ runs:
using: composite
steps:
- name: Validate
shell: bash
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
run: |
NPM_GITHUB_TOKEN=${{ inputs.github-token }}
echo -e "@hyper-tuner:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=${NPM_GITHUB_TOKEN}" > .npmrc
npm i -g [email protected]
npx -y hyper-tuner/ini validate ${{ inputs.filename }}

0 comments on commit 192f9e9

Please sign in to comment.