Clean Actions file #339
7
.github/workflows/publish_docker_main.yml
vendored
7
.github/workflows/publish_docker_main.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Publish latest image
|
name: Publish image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -11,14 +11,13 @@ on:
|
|||||||
- "src/**/*"
|
- "src/**/*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# DOCKERPLATFORM: "linux/amd64,linux/arm64"
|
|
||||||
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7"
|
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7"
|
||||||
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latestDeploy:
|
devbuild:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish latest
|
name: Publish main image
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v2.4.0
|
||||||
with:
|
with:
|
||||||
|
7
.github/workflows/publish_docker_release.yml
vendored
7
.github/workflows/publish_docker_release.yml
vendored
@ -1,18 +1,17 @@
|
|||||||
name: Publish release image
|
name: Publish image (Release)
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# DOCKERPLATFORM: "linux/amd64,linux/arm64"
|
|
||||||
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7"
|
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7"
|
||||||
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latestDeploy:
|
publishRelease:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish latest
|
name: Publish image
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v2.4.0
|
||||||
with:
|
with:
|
||||||
|
9
.github/workflows/publish_npm_main.yml
vendored
9
.github/workflows/publish_npm_main.yml
vendored
@ -7,13 +7,8 @@ on:
|
|||||||
- "package*.json"
|
- "package*.json"
|
||||||
- "src/**/*"
|
- "src/**/*"
|
||||||
|
|
||||||
env:
|
|
||||||
# DOCKERPLATFORM: "linux/amd64,linux/arm64"
|
|
||||||
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x"
|
|
||||||
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latestDeploy:
|
publishmodulemaim:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish npm module
|
name: Publish npm module
|
||||||
strategy:
|
strategy:
|
||||||
@ -53,7 +48,7 @@ jobs:
|
|||||||
- name: Install node depencies
|
- name: Install node depencies
|
||||||
run: npm install -d
|
run: npm install -d
|
||||||
|
|
||||||
- name: Build typescript to CJS and ESM
|
- name: Build typescript
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Publish Package
|
- name: Publish Package
|
||||||
|
9
.github/workflows/publish_npm_release.yml
vendored
9
.github/workflows/publish_npm_release.yml
vendored
@ -4,15 +4,10 @@ on:
|
|||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
|
||||||
env:
|
|
||||||
# DOCKERPLATFORM: "linux/amd64,linux/arm64"
|
|
||||||
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x"
|
|
||||||
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latestDeploy:
|
publishreleasemodule:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish npm module
|
name: Publish npm module (release)
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
npm_registry:
|
npm_registry:
|
||||||
|
8
.github/workflows/pull_request.yml
vendored
8
.github/workflows/pull_request.yml
vendored
@ -2,11 +2,6 @@ name: Test module
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
|
||||||
# DOCKERPLATFORM: "linux/amd64,linux/arm64"
|
|
||||||
DOCKERPLATFORM: "linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x"
|
|
||||||
DOCKERIMAGE: "ghcr.io/the-bds-maneger/core"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latestDeploy:
|
latestDeploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -14,7 +9,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node_version:
|
node_version:
|
||||||
- "15"
|
|
||||||
- "16"
|
- "16"
|
||||||
- "17"
|
- "17"
|
||||||
steps:
|
steps:
|
||||||
@ -30,5 +24,5 @@ jobs:
|
|||||||
- name: Install node depencies
|
- name: Install node depencies
|
||||||
run: npm install -d
|
run: npm install -d
|
||||||
|
|
||||||
- name: Build typescript to CJS and ESM
|
- name: Build typescript
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
Reference in New Issue
Block a user