Skip to content

Commit

Permalink
chore: gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
giniedp committed Aug 5, 2023
1 parent 9b4948f commit 53c8f42
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.js.yml
@@ -0,0 +1,32 @@
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: CI

on:
push:
branches:
- "main"

jobs:
prepare:
name: Prepare the environment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies 📦
run: yarn install --frozen-lockfile
- name: Download nw-data 📥
run: yarn nw-cdn download

build:
runs-on: ubuntu-latest
needs: prepare

steps:
- name: Build Storybook
run: yarn storybook:build

0 comments on commit 53c8f42

Please sign in to comment.