Skip to content

Add ToastCode component for interactive playground code generation #3

Add ToastCode component for interactive playground code generation

Add ToastCode component for interactive playground code generation #3

Workflow file for this run

name: CI
on:
# push:
# branches:
# - main
# https://frontside.com/blog/2020-05-26-github-actions-pull_request
pull_request:
types: [ opened, edited, synchronize, reopened ]
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Install
run: npm i
- name: Lint
run: npm run lint
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Install
run: npm i
- name: Stylelint
run: npm run stylelint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Install
run: npm i
- name: Typecheck
run: npm run typecheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Install
run: npm i
- name: Unit Test
run: npm run test