Skip to content

Commit

Permalink
Update versions of GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Remy Suen <[email protected]>
  • Loading branch information
rcjsuen committed Sep 10, 2023
1 parent 80656b9 commit 30caa36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
status: "LTS"
- node-version: 20.x
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand All @@ -26,14 +26,14 @@ jobs:
- name: Test
run: npm run nyc-ci
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
if: ${{ matrix.status == 'LTS' && github.ref == 'refs/heads/master' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push to DockerHub
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
if: ${{ matrix.status == 'LTS' && github.ref == 'refs/heads/master' }}
with:
context: .
Expand Down

0 comments on commit 30caa36

Please sign in to comment.