diff --git a/.github/workflows/publish_docker_main.yml b/.github/workflows/publish_docker_main.yml index 2bc9c5e..f6b8ebc 100644 --- a/.github/workflows/publish_docker_main.yml +++ b/.github/workflows/publish_docker_main.yml @@ -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: diff --git a/.github/workflows/publish_docker_release.yml b/.github/workflows/publish_docker_release.yml index 4f3219b..b6cf6c7 100644 --- a/.github/workflows/publish_docker_release.yml +++ b/.github/workflows/publish_docker_release.yml @@ -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: diff --git a/.github/workflows/publish_npm_main.yml b/.github/workflows/publish_npm_main.yml index 372b97c..598c083 100644 --- a/.github/workflows/publish_npm_main.yml +++ b/.github/workflows/publish_npm_main.yml @@ -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 diff --git a/.github/workflows/publish_npm_release.yml b/.github/workflows/publish_npm_release.yml index 76680e0..40d8104 100644 --- a/.github/workflows/publish_npm_release.yml +++ b/.github/workflows/publish_npm_release.yml @@ -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: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f2f7585..2d1ba7a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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