Skip to content

Update release.yml

Update release.yml #7

Workflow file for this run

name: Build Pipeline
on:
push:
branches:
- main # Adjust the branch name as needed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18 # Replace with the desired Node.js version
- name: Install dependencies and build
run: |
npm install
npm run build
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build # Change this to the directory containing your build output