chore: devcontainer (#15) #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: './client' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./client | |
- name: Build Histoire (Pattern Library) | |
run: npm run story:build | |
working-directory: ./client | |
- name: Lost Pixel | |
uses: lost-pixel/lost-pixel@v3.18.2 # remember to sync version with NPM package | |
env: | |
LOST_PIXEL_DISABLE_TELEMETRY: 1 | |