Add Deno to CI (#377)
* Add Deno to CI * Remove lint and comments from ci file * Replace test by compile * Specify to build bin/gamedig and ignore the resulting exe
This commit is contained in:
parent
01794f6339
commit
0481be22f8
|
@ -0,0 +1,28 @@
|
||||||
|
|
||||||
|
name: Deno
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["master"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["master"]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Setup repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup Deno
|
||||||
|
# uses: denoland/setup-deno@v1
|
||||||
|
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
run: deno compile --allow-read bin/gamedig.js
|
|
@ -2,3 +2,5 @@
|
||||||
/npm-debug.log
|
/npm-debug.log
|
||||||
/*.iml
|
/*.iml
|
||||||
/.idea
|
/.idea
|
||||||
|
# Deno bin/gamedig executable
|
||||||
|
gamedig
|
||||||
|
|
Loading…
Reference in New Issue