Skip to content

Commit

Permalink
Get build working and run compile in the pipeline (#612)
Browse files Browse the repository at this point in the history
* feat(ui-library): basic build

* package-lock

* fix(ui-library): storybook and build use same font assets/folder

* fix(ui-library): correct dark theme color

* reactivated type export

* cleanup

* added compile step

* ts issues

* added github compile workflow which should fail

* the remaining type issues
  • Loading branch information
ChristianHoffmannS2 authored Nov 23, 2023
1 parent 1f28479 commit d1c353d
Show file tree
Hide file tree
Showing 49 changed files with 1,956 additions and 520 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Compile

on: [push, pull_request]

jobs:
snapshot-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Get node version
id: node
run: |
echo "::set-output name=version::$(node -v)"
- name: Get node_modules cache
uses: actions/[email protected]
id: node_modules
with:
path: |
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}

- name: Install modules
run: npm ci

- name: Generate tokens
run: npm run tokens:generate

- name: Run Compile
run: npm run compile
Loading

0 comments on commit d1c353d

Please sign in to comment.