Skip to content

build: dockerfile

build: dockerfile #160

Workflow file for this run

name: Build and Test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
environment: development
env:
NEXT_PUBLIC_BASE_STORYBOOK_URL: ${{ vars.NEXT_PUBLIC_BASE_STORYBOOK_URL }}
NEXT_PUBLIC_BASE_URL: ${{ vars.NEXT_PUBLIC_BASE_URL }}
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Lint
run: yarn lint
- name: Run Tests
run: yarn test
- name: Build Storybook
run: yarn build:storybook
- name: Build Project
run: yarn build:next