-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix actions * fix errors with typescript
- Loading branch information
1 parent
1de682c
commit 1f4e8d0
Showing
9 changed files
with
109 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,34 @@ | ||
name: Build | ||
on: [push, pull_request] | ||
|
||
env: | ||
PNPM_CACHE_FOLDER: .pnpm-store | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ env.PNPM_CACHE_FOLDER }} | ||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
path: ~/.bun/install/cache | ||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/bun.lockb') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm- | ||
- name: Install Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '17' | ||
check-latest: true | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 6 | ||
- name: Install bun | ||
uses: oven-sh/setup-bun@v2 | ||
|
||
- name: Install Dependencies | ||
run: pnpm i | ||
run: bun i | ||
|
||
- name: Check style | ||
run: bun run lint | ||
|
||
- name: Check for errors | ||
run: pnpm check | ||
run: bun run check | ||
|
||
- name: Build | ||
run: pnpm build | ||
run: bun run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,31 @@ | ||
name: Build | ||
on: [pull_request] | ||
|
||
env: | ||
PNPM_CACHE_FOLDER: .pnpm-store | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ env.PNPM_CACHE_FOLDER }} | ||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
path: ~/.bun/install/cache | ||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm- | ||
${{ runner.os }}-bun- | ||
- name: Install Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '17' | ||
check-latest: true | ||
- name: Install bun | ||
uses: oven-sh/setup-bun@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 6 | ||
- name: Install dependencies | ||
run: bun i | ||
|
||
- name: Check types | ||
run: bun run check | ||
|
||
- name: Check style | ||
run: pnpm lint | ||
run: bun run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,55 @@ | ||
{ | ||
"name": "westrom.xyz", | ||
"private": true, | ||
"license": "AGPL-3.0-or-later", | ||
"type": "module", | ||
"scripts": { | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"dev": "vite dev", | ||
"lint": "prettier --ignore-path .gitignore --check .", | ||
"format": "prettier --ignore-path .gitignore --write .", | ||
"ci": "pnpm check && pnpm lint && pnpm build" | ||
}, | ||
"pre-commit": [ | ||
"format" | ||
], | ||
"devDependencies": { | ||
"@sveltejs/adapter-static": "^1.0.0", | ||
"@sveltejs/kit": "^1.0.1", | ||
"@types/highlight.js": "^10.1.0", | ||
"@types/html-minifier": "^4.0.2", | ||
"@types/showdown": "^2.0.6", | ||
"autoprefixer": "^10.4.13", | ||
"html-minifier": "^4.0.0", | ||
"postcss": "^8.4.20", | ||
"postcss-load-config": "^4.0.1", | ||
"postcss-nested": "^5.0.6", | ||
"postcss-scss": "^4.0.6", | ||
"prettier": "^2.8.1", | ||
"prettier-plugin-svelte": "^2.9.0", | ||
"remark-frontmatter": "^5.0.0", | ||
"remark-html": "^16.0.1", | ||
"sass": "^1.57.1", | ||
"showdown": "^2.1.0", | ||
"svelte": "^3.55.0", | ||
"svelte-check": "^2.10.2", | ||
"svelte-loader": "^3.1.4", | ||
"svelte-preprocess": "^4.10.7", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.2", | ||
"yaml": "^2.4.5" | ||
}, | ||
"dependencies": { | ||
"highlight.js": "^11.7.0", | ||
"modern-normalize": "^1.1.0" | ||
} | ||
"name": "westrom.xyz", | ||
"private": true, | ||
"license": "AGPL-3.0-or-later", | ||
"type": "module", | ||
"scripts": { | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"dev": "vite dev", | ||
"lint": "prettier --ignore-path .gitignore --check .", | ||
"format": "prettier --ignore-path .gitignore --write .", | ||
"ci": "bun run check && bun run lint && bun run build" | ||
}, | ||
"pre-commit": [ | ||
"format" | ||
], | ||
"devDependencies": { | ||
"@sveltejs/adapter-static": "^1.0.0", | ||
"@sveltejs/kit": "^1.0.1", | ||
"@types/highlightjs": "^9.12.6", | ||
"@types/html-minifier": "^4.0.2", | ||
"@types/showdown": "^2.0.6", | ||
"autoprefixer": "^10.4.13", | ||
"html-minifier": "^4.0.0", | ||
"postcss": "^8.4.20", | ||
"postcss-load-config": "^4.0.1", | ||
"postcss-nested": "^5.0.6", | ||
"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", | ||
"svelte-check": "^2.10.2", | ||
"svelte-loader": "^3.1.4", | ||
"svelte-preprocess": "^4.10.7", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.2", | ||
"yaml": "^2.4.5" | ||
}, | ||
"dependencies": { | ||
"highlight.js": "^11.7.0", | ||
"modern-normalize": "^1.1.0" | ||
} | ||
} |
Submodule posts
updated
5 files
+14 −2 | 001-first-post.md | |
+4 −3 | 002-parsing-org-docs.md | |
+1 −1 | 003-datomic-pitfalls.md | |
+15 −15 | 004-rant-on-emacs.md | |
+61 −60 | 005-gaps-in-knowledge.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters