update elixir and npm versions
This commit is contained in:
parent
695002c9d9
commit
1cd28e43b8
@ -16,7 +16,7 @@ steps:
|
|||||||
- assets/node_modules/
|
- assets/node_modules/
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: elixir:1.13.4-alpine
|
image: elixir:1.14.1-alpine
|
||||||
environment:
|
environment:
|
||||||
TEST_DATABASE_URL: ecto://postgres:postgres@database/lokal_test
|
TEST_DATABASE_URL: ecto://postgres:postgres@database/lokal_test
|
||||||
HOST: testing.example.tld
|
HOST: testing.example.tld
|
||||||
@ -29,7 +29,7 @@ steps:
|
|||||||
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
||||||
- npm run --prefix ./assets deploy
|
- npm run --prefix ./assets deploy
|
||||||
- mix do phx.digest, gettext.extract
|
- mix do phx.digest, gettext.extract
|
||||||
- mix test
|
- mix test.all
|
||||||
|
|
||||||
- name: build and publish stable
|
- name: build and publish stable
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
@ -38,7 +38,7 @@ steps:
|
|||||||
repo: shibaobun/lokal
|
repo: shibaobun/lokal
|
||||||
purge: true
|
purge: true
|
||||||
compress: true
|
compress: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm/v7
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
@ -55,7 +55,7 @@ steps:
|
|||||||
repo: shibaobun/lokal
|
repo: shibaobun/lokal
|
||||||
purge: true
|
purge: true
|
||||||
compress: true
|
compress: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm/v7
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
elixir 1.13.2-otp-24
|
elixir 1.14.1-otp-25
|
||||||
erlang 24.2
|
erlang 25.1.2
|
||||||
nodejs 16.13.2
|
nodejs 18.12.1
|
||||||
|
2
mix.exs
2
mix.exs
@ -5,7 +5,7 @@ defmodule Lokal.MixProject do
|
|||||||
[
|
[
|
||||||
app: :lokal,
|
app: :lokal,
|
||||||
version: "0.1.0",
|
version: "0.1.0",
|
||||||
elixir: "~> 1.13",
|
elixir: "~> 1.14",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
compilers: Mix.compilers(),
|
compilers: Mix.compilers(),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
|
Loading…
Reference in New Issue
Block a user