forked from piesku/backcountry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use esbuild, similar to upstream Goodluck
- Loading branch information
Showing
32 changed files
with
2,192 additions
and
284 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: CD | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛎️ Check out | ||
uses: actions/checkout@v2 | ||
- name: 🧮 Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.x | ||
- name: 📦 Install dependencies | ||
run: npm ci | ||
- name: 🧽 Lint | ||
run: npm run lint | ||
- name: 🛠️ Build | ||
run: make -C play | ||
- name: 🚀 Deploy | ||
uses: JamesIves/github-pages-deploy-action@4.1.1 | ||
with: | ||
branch: gh-pages | ||
folder: play |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: CI | ||
on: pull_request | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛎️ Check out | ||
uses: actions/checkout@v2 | ||
- name: 🧮 Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.x | ||
- name: 📦 Install dependencies | ||
run: npm ci | ||
- name: 🧽 Lint | ||
run: npm run lint | ||
- name: 🛠️ Type-check | ||
run: npm run ts:check |
This file was deleted.
Oops, something went wrong.
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,5 +1,6 @@ | ||
.DS_Store | ||
.vscode/*.log | ||
node_modules | ||
package-lock.json | ||
public/js | ||
public/opt/*.js | ||
public/opt/*.tfu | ||
*.js | ||
*.js.map | ||
play/index.* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
{ | ||
"files.exclude": { | ||
"{core,lib,materials,meshes,[A-Z]*}/*.js": true, | ||
"**/*.js.map": true, | ||
"package-lock.json": true, | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true | ||
"source.organizeImports": "explicit", | ||
}, | ||
"[html]": { | ||
"editor.formatOnSave": false | ||
} | ||
"npm.autoDetect": "off", | ||
"typescript.tsc.autoDetect": "off", | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.preferences.importModuleSpecifierEnding": "js", | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare var DEBUG: boolean; | ||
declare var OUTDIR: string; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.