Skip to content

Update build-deploy.yml #4

Update build-deploy.yml

Update build-deploy.yml #4

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "dev", "master" ]
pull_request:
branches: [ "dev", "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- name: Upload production-ready build files
uses: actions/upload-artifact@v3
with:
name: production-files
path: ./dist