Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Vikas/nfx 132

Vikas/nfx 132 #321

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
defaults:
run:
shell: bash
working-directory: .
jobs:
build:
name: Build and Deploy to GitHub Pages
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install pnpm
run: corepack enable && corepack prepare pnpm@8.9.0 --activate
- name: Install Dependencies and Build
run: make build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./storybook-static/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4