From d41e42b3708afee075cd36ec8ab5649b119f88ad Mon Sep 17 00:00:00 2001 From: Leandro Mendoza Date: Fri, 10 Mar 2023 17:00:15 -0300 Subject: [PATCH] chore: set @dcl/js-runtime as first package to be published in the CI --- .github/workflows/ci.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f792ed93..aae924a5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,53 +122,54 @@ jobs: name: built-artifacts path: 'packages/**/*.tgz' retention-days: 5 - - name: publish @dcl/dcl-rollup package + + - name: publish @dcl/js-runtime package + id: publish_dcl_js_runtime uses: menduz/oddish-action@master - id: publish_dcl_rollup with: registry-url: 'https://registry.npmjs.org' access: public - cwd: ./packages/@dcl/dcl-rollup + cwd: ./packages/@dcl/js-runtime ## use action runId instead of current date to generate snapshot numbers deterministic-snapshot: true ## publish every package to s3 s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} - s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/dcl-rollup' + s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/js-runtime' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} - - name: publish @dcl/ecs package + - name: publish @dcl/dcl-rollup package uses: menduz/oddish-action@master - id: publish_ecs + id: publish_dcl_rollup with: registry-url: 'https://registry.npmjs.org' access: public - cwd: ./packages/@dcl/ecs + cwd: ./packages/@dcl/dcl-rollup ## use action runId instead of current date to generate snapshot numbers deterministic-snapshot: true ## publish every package to s3 s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} - s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/ecs' + s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/dcl-rollup' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} - - name: publish @dcl/js-runtime package - id: publish_dcl_js_runtime + - name: publish @dcl/ecs package uses: menduz/oddish-action@master + id: publish_ecs with: registry-url: 'https://registry.npmjs.org' access: public - cwd: ./packages/@dcl/js-runtime + cwd: ./packages/@dcl/ecs ## use action runId instead of current date to generate snapshot numbers deterministic-snapshot: true ## publish every package to s3 s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} - s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/js-runtime' + s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/ecs' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }}