mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 19:21:26 +00:00
* Add standard-version to automate releases * Remove husky * Add lint script; run lint in GitHub Actions * Run lint script * Add Enrico to contributors
25 lines
498 B
YAML
25 lines
498 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/cache@v2
|
|
id: yarn-cache
|
|
with:
|
|
path: "**/node_modules"
|
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
- name: Install dependencies, build, test, and lint the codebase
|
|
run: |
|
|
yarn
|
|
yarn build:lib
|
|
yarn test:types
|
|
yarn lint
|