carbon-components-svelte/.github/workflows/ci.yml
Enrico Sacchetti 15185040ed
chore: improve workflows
- Add standard-version to automate version bumping, adding tag, and writing changelog
- remove husky
- add lint script
- update CI pipeline to include linting for pull requests
- format yet-linted files
- add Enrico to contributors
2023-01-11 21:15:38 -05:00

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