Skip to content

Bump moment from 2.29.3 to 2.29.4 #22

Bump moment from 2.29.3 to 2.29.4

Bump moment from 2.29.3 to 2.29.4 #22

Workflow file for this run

name: Create and publish a Docker image
on:
push:
branches: ['master']
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get Node v16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run unit tests
run: pnpm test
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v2
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
push: true
tags: |
docker.pkg.github.com/${{ github.repository }}/node-express-modular-architecture:${{ github.sha }}