From 096cf0191f637aeb2436ef45793ff963f4d9abdd Mon Sep 17 00:00:00 2001 From: childish-sambino Date: Mon, 14 Nov 2022 14:12:45 -0600 Subject: [PATCH] chore: upgrade GitHub Actions dependencies (#823) Fixes warning: > Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. --- .github/workflows/pr-lint.yml | 10 ++++++++-- .github/workflows/test-and-deploy.yml | 10 +++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 2f5232b088..31520079ca 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -8,8 +8,14 @@ jobs: name: Validate title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@v5 with: - types: chore docs fix feat test misc + types: | + chore + docs + fix + feat + misc + test env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 9584118d00..51126d9d15 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -20,12 +20,12 @@ jobs: node: [ 6, 8, 10, 12, 14, 16, lts/* ] steps: - name: Checkout twilio-node - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} @@ -47,19 +47,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout twilio-node - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: lts/* - run: npm install - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_AUTH_TOKEN }}