Skip to content

Update README.md

Update README.md #16

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Calculator CI/CD
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
deploy:
runs-on: ubuntu-latest
needs: build # This ensures the deploy job runs only after the build job completes successfully
steps:
- name: Deploy to Vercel
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_Gqwn95PjUlgbcC9hQVZibCm1a29f/T1pk0DQp8v