Skip to content

Commit

Permalink
chore: add CI for example project
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaewoook committed Sep 22, 2024
1 parent 66ee5ae commit e1a2d00
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CI"
name: "PDFium.js:CI"

on:
push:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/ci_example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Example:CI"

on:
push:
pull_request:

defaults:
run:
working-directory: example

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache-dependency-path: "yarn.lock"
node-version-file: "../.tool-versions"
- run: yarn install --frozen-lockfile
- run: yarn build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache-dependency-path: "yarn.lock"
node-version-file: "../.tool-versions"
- run: yarn install --frozen-lockfile
- run: yarn lint

0 comments on commit e1a2d00

Please sign in to comment.