Skip to content

Bump version of @mfng/core #146

Bump version of @mfng/core

Bump version of @mfng/core #146

Workflow file for this run

name: Deployment
on:
push:
branches:
- main
jobs:
deploy-cloudflare:
runs-on: ubuntu-latest
environment: Cloudflare Workers
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'npm'
- name: Install
run: npm ci --no-audit --no-fund
- name: Test
run: npm t
- name: Deploy
run: npm run deploy -- -F cloudflare-app
deploy-aws:
runs-on: ubuntu-latest
environment: AWS
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.AWS_REGION }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'npm'
- name: Install
run: npm ci --no-audit --no-fund
- name: Test
run: npm t
- name: Deploy
run: npm run deploy -- -F aws-app -- --require-approval never