Skip to content

chore: 🤖 switch yarn to pnpm #49

chore: 🤖 switch yarn to pnpm

chore: 🤖 switch yarn to pnpm #49

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install and Build
run: |
npm install -g pnpm
pnpm install
pnpm build
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: enquestor/dnd-website:latest