switch-to-deno #1
2 changed files with 6 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
steps:
|
steps:
|
||||||
lint:
|
build:
|
||||||
image: denoland/deno:1.39.2
|
image: denoland/deno:1.39.2
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install curl
|
- apt install curl -y
|
||||||
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && apt-get install -y nodejs
|
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && apt-get install -y nodejs
|
||||||
- deno task build
|
- deno task build
|
|
@ -2,9 +2,12 @@ when:
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
lint:
|
publish:
|
||||||
image: denoland/deno:1.39.2
|
image: denoland/deno:1.39.2
|
||||||
commands:
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install curl -y
|
||||||
|
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && apt-get install -y nodejs
|
||||||
- deno task publish
|
- deno task publish
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue