Skip to content

Commit

Permalink
add gitignore/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Nov 10, 2023
1 parent 996f99b commit 20731e9
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build spec

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run build
- run: npm run check-format
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy gh-pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run build
- uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages
folder: dist
clean: true
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
dist

.DS_Store
Desktop.ini
._*
Thumbs.db
.Spotlight-V100
.Trashes

0 comments on commit 20731e9

Please sign in to comment.