Skip to content

Commit

Permalink
other fixes to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wildwestrom committed Jul 22, 2024
1 parent 0f17eba commit e4e283f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
submodules: true

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/bun.lockb') }}
Expand All @@ -24,8 +24,11 @@ jobs:
- name: Install Dependencies
run: bun i

- name: Check style
run: bun run lint

- name: Check for errors
run: bun check
run: bun run check

- name: Build
run: bun build
run: bun run build
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
submodules: true

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
Expand All @@ -21,5 +21,11 @@ jobs:
- name: Install bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun i

- name: Check types
run: bun run check

- name: Check style
run: bun run lint
Binary file modified bun.lockb
Binary file not shown.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@sveltejs/adapter-static": "^1.0.0",
"@sveltejs/kit": "^1.0.1",
"@types/highlight.js": "^10.1.0",
"@types/highlightjs": "^9.12.6",
"@types/html-minifier": "^4.0.2",
"@types/showdown": "^2.0.6",
"autoprefixer": "^10.4.13",
Expand All @@ -30,8 +30,14 @@
"postcss-scss": "^4.0.6",
"prettier": "^2.8.1",
"prettier-plugin-svelte": "^2.9.0",
"rehype-highlight": "^7.0.0",
"rehype-raw": "^7.0.0",
"rehype-shift-heading": "^2.0.0",
"rehype-stringify": "^10.0.0",
"remark-frontmatter": "^5.0.0",
"remark-html": "^16.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"sass": "^1.57.1",
"showdown": "^2.1.0",
"svelte": "^3.55.0",
Expand Down

0 comments on commit e4e283f

Please sign in to comment.