Skip to content

Commit

Permalink
chore: upgrade GitHub Actions dependencies (#851)
Browse files Browse the repository at this point in the history
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/.
  • Loading branch information
childish-sambino authored Dec 28, 2022
1 parent b7a2b71 commit 5e93c13
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 5 additions & 5 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
node: [ 14, 16, 18, 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 }}

Expand Down Expand Up @@ -57,19 +57,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 }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV NODE_PATH /usr/local/lib/node_modules
COPY lib ./lib
COPY spec ./spec
COPY examples ./examples
COPY index.js package.json babel.config.js tsconfig.json ./
COPY index.ts package.json babel.config.js tsconfig.json ./

RUN npm install . --include=dev
RUN npm install -g .

0 comments on commit 5e93c13

Please sign in to comment.