Skip to content

Commit

Permalink
Add GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwh committed Nov 10, 2024
1 parent a3c8f80 commit d42fa2a
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 319 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
push:
branches:
- "**"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Build assets
run: npm run build
4 changes: 3 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export default tseslint.config(
},
ignores: [
"tsup.config.ts",
"dist/*",
"dist/browser.js",
"dist/module.js",
"dist/module.mjs",
],
},
);
Loading

0 comments on commit d42fa2a

Please sign in to comment.