From 5af9079687e43f209d74207883282787e8b94a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 12 Jan 2024 23:50:59 +0100 Subject: [PATCH] Upgrade lint workflow --- .github/workflows/lint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4142232..7f2165c 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 12.x + node-version: 20.x - name: Install dependencies run: npm install @@ -26,9 +26,9 @@ jobs: run: npm run lint:fix - name: Commit changes - uses: EndBug/add-and-commit@v4 + uses: EndBug/add-and-commit@v9 with: add: src message: "[auto] Lint source code" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }}