Skip to content

Commit

Permalink
CI setup and added happy-dom back (#5)
Browse files Browse the repository at this point in the history
pre-commit hook and ci
  • Loading branch information
marcopiraccini authored Oct 31, 2022
1 parent a27cc03 commit a28b4f1
Show file tree
Hide file tree
Showing 6 changed files with 2,553 additions and 8,253 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: run tests

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run tailwind
- run: npm test

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@ dist

# Misc
.DS_Store
.vscode
.vscode

storybook-static
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,6 @@ typings/
# Misc
.DS_Store
.storybook
.vscode
.vscode

storybook-static
Loading

0 comments on commit a28b4f1

Please sign in to comment.