Merge pull request #42 from FiniteLooper/dependabot/npm_and_yarn/type… #98
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
- .gitignore | |
- .github/** | |
- .vscode/** | |
- .cspell.json | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build-and-test: | |
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ⏬ | |
uses: actions/checkout@v4 | |
- name: Install 📦 | |
run: | | |
npm ci | |
- name: Lint 👍🏼 | |
run: | | |
npm run lint | |
- name: Test 🧪 | |
run: | | |
npm run test:coverage | |
- name: Build Main ⚒️ | |
run: | | |
npm run build:main | |
- name: Build Module 🛠️ | |
run: | | |
npm run build:module |