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