demo/content as data #172
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
name: Continuous Integration | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node: [18] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Installing project dependencies | |
run: | | |
npm ci | |
- name: Format | |
run: | | |
npm run format:check | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Test | |
run: | | |
npm run test | |
- name: Build Storybook | |
run: | | |
npm run story:build | |
- name: Build Project | |
run: | | |
npm run build |