diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ede3d8a..9af2b52 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -4,27 +4,27 @@ on: pull_request jobs: lint: - name: Lint on node 14 and ubuntu-latest + name: Lint on node 20 and ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 14 - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - name: Install deps and build (with cache) uses: bahmutov/npm-install@v1 - name: Lint codebase run: yarn lint test: - name: Test and lint on node 14.x and ubuntu-latest + name: Test and lint on node 20.x and ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - name: Install deps (with cache) uses: bahmutov/npm-install@v1 - name: Test codebase diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f8b5900..e2b7cec 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -4,14 +4,14 @@ on: push jobs: test: - name: Test and lint on node 14.x and ubuntu-latest + name: Test and lint on node 20.x and ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - name: Install deps (with cache) uses: bahmutov/npm-install@v1 - name: Test codebase