diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 7138393..792dbfe 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -53,10 +53,10 @@ jobs: git config --local user.name "GitHub Actions (pmd-bot)" git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && git push origin main - - name: Set Node.js 12.x + - name: Setup Node.js uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16 - name: Install dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d0fd9d..c5cf181 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,9 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Set Node.js 12.x + - name: Setup Node.js uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16 - run: npm ci - run: npm test diff --git a/action.yml b/action.yml index eca0106..550fe67 100644 --- a/action.yml +++ b/action.yml @@ -65,7 +65,7 @@ outputs: violations: description: Number of violations found runs: - using: node12 + using: node16 main: dist/index.js branding: icon: code