Skip to content

Commit 286eab2

Browse files
authored
Merge pull request #14 from betrybe/test-node-18
feat: Altera tipo da action para rodar com Node 18
2 parents e7ada93 + 8d19577 commit 286eab2

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

action.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,17 @@ inputs:
1111
description: 'Pull Request number that dispatched the workflow'
1212
required: true
1313
runs:
14-
using: "node16"
15-
main: "dist/index.js"
14+
using: "composite"
15+
steps:
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '18'
20+
21+
- name: ESLint Evaluator
22+
run: node ${{ github.action_path }}/dist/index.js
23+
shell: bash
24+
env:
25+
INPUT_TOKEN: ${{ inputs.token }}
26+
INPUT_IGNOREINLINECONFIG: ${{ inputs.ignoreInlineConfig }}
27+
INPUT_PR_NUMBER: ${{ inputs.pr_number }}

0 commit comments

Comments
 (0)