fix apt install + change ci job name
This commit is contained in:
parent
7d91f9b61f
commit
569fb8f6ce
2 changed files with 6 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
steps:
|
||||
lint:
|
||||
build:
|
||||
image: denoland/deno:1.39.2
|
||||
commands:
|
||||
- apt update
|
||||
- apt install curl
|
||||
- apt install curl -y
|
||||
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && apt-get install -y nodejs
|
||||
- deno task build
|
|
@ -2,9 +2,12 @@ when:
|
|||
branch: main
|
||||
|
||||
steps:
|
||||
lint:
|
||||
publish:
|
||||
image: denoland/deno:1.39.2
|
||||
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
|
||||
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in a new issue