Skip to content

Commit

Permalink
Merge pull request #14 from betrybe/test-node-18
Browse files Browse the repository at this point in the history
feat: Altera tipo da action para rodar com Node 18
  • Loading branch information
renatofreire authored Aug 25, 2023
2 parents e7ada93 + 8d19577 commit 286eab2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,17 @@ inputs:
description: 'Pull Request number that dispatched the workflow'
required: true
runs:
using: "node16"
main: "dist/index.js"
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: ESLint Evaluator
run: node ${{ github.action_path }}/dist/index.js
shell: bash
env:
INPUT_TOKEN: ${{ inputs.token }}
INPUT_IGNOREINLINECONFIG: ${{ inputs.ignoreInlineConfig }}
INPUT_PR_NUMBER: ${{ inputs.pr_number }}

0 comments on commit 286eab2

Please sign in to comment.