Skip to content

Bump the npm_and_yarn group with 2 updates #16

Bump the npm_and_yarn group with 2 updates

Bump the npm_and_yarn group with 2 updates #16

Workflow file for this run

name: Build and Test
on:
push:
paths:
- 'package**.json'
- 'src/**'
pull_request:
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
name: 🧪 Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Test
run: npm test
build-container:
name: 📦 Build Container
needs: test
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Docker Build
run: docker build . --file Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
deploy:
name: 🚀 Deploy
needs: build-container
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Deploy Step
run: echo "Deploying"