Skip to content

Fixed storybook according to new build system #6

Fixed storybook according to new build system

Fixed storybook according to new build system #6

Workflow file for this run

name: Run unit tests and a test build
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master' # excludes master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
scope: '@g-loot'
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}
- run: npm run build
- name: run unit tests
run: npm test