Skip to content

Commit 22df9d5

Browse files
committed
locked and cached only
1 parent 422be69 commit 22df9d5

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
uses: denoland/setup-deno@v2
2929
with:
3030
deno-version: v2.x
31+
- name: Install Dependencies
32+
run: deno install --locked
3133
- name: Build
3234
run: deno task build
3335
- name: Setup Pages

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ You'll need the following in order to run commands:
1515

1616
- [Deno](https://deno.com/)
1717

18+
Before running any command line mentioned here, run the following command first.
19+
20+
```
21+
deno install
22+
```
23+
1824
## Building
1925

2026
This builds the distribution code at `./dist/main.js` as minified file ready for

deno.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"lib": ["dom", "deno.ns"]
44
},
55
"tasks": {
6-
"build": "deno run -E -R -W -N=jsr.io --allow-run --no-prompt ./bundle.ts build",
6+
"build": "deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./bundle.ts build",
77
"repl": {
8-
"command": "deno run --no-prompt ./src/repl.ts",
8+
"command": "deno run --no-prompt --frozen --cached-only ./src/repl.ts",
99
"dependencies": ["build-dictionary"]
1010
},
1111
"start": "deno run -N=0.0.0.0 -R=./dist/ --no-prompt jsr:@std/http/file-server ./dist/",
12-
"watch": "deno run -E -R -W -N=jsr.io --allow-run --no-prompt ./bundle.ts watch",
13-
"update": "deno outdated --update && deno run -N=api.linku.la,gitlab.com -W=./telo_misikeke/linku_data.json,./telo_misikeke/Parser.js,./telo_misikeke/rules.js --no-prompt ./telo_misikeke/update.ts",
14-
"build-dictionary": "deno run -R=./dictionary/dictionary -W=./dictionary/dictionary.ts --no-prompt ./dictionary/build.ts"
12+
"watch": "deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./bundle.ts watch",
13+
"update": "deno outdated --update && deno run -N=api.linku.la,gitlab.com -W=./telo_misikeke/linku_data.json,./telo_misikeke/Parser.js,./telo_misikeke/rules.js --no-prompt --frozen --cached-only ./telo_misikeke/update.ts",
14+
"build-dictionary": "deno run -R=./dictionary/dictionary -W=./dictionary/dictionary.ts --no-prompt --frozen --cached-only ./dictionary/build.ts"
1515
},
1616
"fmt": {
1717
"exclude": [

0 commit comments

Comments
 (0)