From 8352eaffabbaa470328cf084fe7904ac8ad6014b Mon Sep 17 00:00:00 2001 From: Jonatan Pedersen Date: Mon, 22 Apr 2024 14:46:20 +0200 Subject: [PATCH 1/5] feat: env file --- .github/workflows/test.yml | 186 +++++++++++++++++++------------------ 1 file changed, 96 insertions(+), 90 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c4ad83..faf25e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,105 +1,111 @@ name: Test on: - workflow_call: - inputs: - postgres: - description: Database used in this workflow. Default to none - required: false - type: string - redis: - description: Whether or not to use Redis in this workflow. Default to false - required: false - default: false - type: boolean + workflow_call: + inputs: + postgres: + description: Database used in this workflow. Default to none + required: false + type: string + redis: + description: Whether or not to use Redis in this workflow. Default to false + required: false + default: false + type: boolean - secrets: - READONLY_NPM_TOKEN: - description: Needed to install private @hedia npm packages - required: true - SONAR_TOKEN: - description: Needed to run SonarCloud Scan - required: true - BREVO_API_KEY: - description: Token needed to authenticate requests to Brevo API if any - required: false - PRIVATE_KEY: - description: Private JSON Web Key that might be needed to run test script - required: false - PUBLIC_KEY: - description: Public JSON Web Key that might be needed to run test script - required: false - SLACK_APP_TOKEN: - description: Token to authenticate requests to Slack API if necessary - required: false + secrets: + READONLY_NPM_TOKEN: + description: Needed to install private @hedia npm packages + required: true + SONAR_TOKEN: + description: Needed to run SonarCloud Scan + required: true + BREVO_API_KEY: + description: Token needed to authenticate requests to Brevo API if any + required: false + PRIVATE_KEY: + description: Private JSON Web Key that might be needed to run test script + required: false + PUBLIC_KEY: + description: Public JSON Web Key that might be needed to run test script + required: false + SLACK_APP_TOKEN: + description: Token to authenticate requests to Slack API if necessary + required: false jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 5 + test: + runs-on: ubuntu-latest + timeout-minutes: 5 - services: - postgres: - image: ${{ inputs.postgres && 'postgres' || '' }} - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: password - POSTGRES_DB: ${{ inputs.postgres }} - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 + services: + postgres: + image: ${{ inputs.postgres && 'postgres' || '' }} + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: password + POSTGRES_DB: ${{ inputs.postgres }} + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 - redis: - image: ${{ inputs.redis && 'redis' || '' }} - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 6379:6379 + redis: + image: ${{ inputs.redis && 'redis' || '' }} + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 6379:6379 - steps: - - name: Checkout Repository - uses: actions/checkout@v4 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 - - name: Setup Node.js Environment - uses: actions/setup-node@v4 - with: - always-auth: true - cache: 'npm' - node-version-file: package.json - registry-url: https://registry.npmjs.org - scope: "@hedia" + - name: Setup Node.js Environment + uses: actions/setup-node@v4 + with: + always-auth: true + cache: "npm" + node-version-file: package.json + registry-url: https://registry.npmjs.org + scope: "@hedia" - - name: Install Dependencies - run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} + - name: Install Dependencies + run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} - - name: Download Build - uses: actions/download-artifact@v4 - with: - path: . - pattern: dist + - name: Download Build + uses: actions/download-artifact@v4 + with: + path: . + pattern: dist - - name: Setup Service - run: NODE_ENV=test npm run setup --if-present + - name: Create .env + env: + ENV_FILE: ${{secrets.ENV_FILE}} + if: env.ENV_FILE != null + run: echo $ENV_FILE > .env - - name: Run Tests - run: npm run test - env: - BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} - PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} - SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} + - name: Setup Service + run: NODE_ENV=test npm run setup --if-present - - name: Upload Coverage - uses: actions/upload-artifact@v4 - with: - name: coverage - path: coverage.xml + - name: Run Tests + run: npm run test + env: + BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} + SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} + + - name: Upload Coverage + uses: actions/upload-artifact@v4 + with: + name: coverage + path: coverage.xml From 6a734642e02a60bb0cbeb5110b39115ad4f1bad0 Mon Sep 17 00:00:00 2001 From: Jonatan Pedersen Date: Mon, 22 Apr 2024 15:19:50 +0200 Subject: [PATCH 2/5] fix: wrap env var in double quotes --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index faf25e6..99e2d4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,7 +91,7 @@ jobs: env: ENV_FILE: ${{secrets.ENV_FILE}} if: env.ENV_FILE != null - run: echo $ENV_FILE > .env + run: echo "$ENV_FILE" > .env - name: Setup Service run: NODE_ENV=test npm run setup --if-present From b3a3b1c492955d5cace5d1c6d1d699018ad2e7bb Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Tue, 23 Apr 2024 09:52:59 +0200 Subject: [PATCH 3/5] style(workflows): reformat test.yml --- .github/workflows/test.yml | 190 ++++++++++++++++++------------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99e2d4c..883b6d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,111 +1,111 @@ name: Test on: - workflow_call: - inputs: - postgres: - description: Database used in this workflow. Default to none - required: false - type: string - redis: - description: Whether or not to use Redis in this workflow. Default to false - required: false - default: false - type: boolean + workflow_call: + inputs: + postgres: + description: Database used in this workflow. Default to none + required: false + type: string + redis: + description: Whether or not to use Redis in this workflow. Default to false + required: false + default: false + type: boolean - secrets: - READONLY_NPM_TOKEN: - description: Needed to install private @hedia npm packages - required: true - SONAR_TOKEN: - description: Needed to run SonarCloud Scan - required: true - BREVO_API_KEY: - description: Token needed to authenticate requests to Brevo API if any - required: false - PRIVATE_KEY: - description: Private JSON Web Key that might be needed to run test script - required: false - PUBLIC_KEY: - description: Public JSON Web Key that might be needed to run test script - required: false - SLACK_APP_TOKEN: - description: Token to authenticate requests to Slack API if necessary - required: false + secrets: + READONLY_NPM_TOKEN: + description: Needed to install private @hedia npm packages + required: true + SONAR_TOKEN: + description: Needed to run SonarCloud Scan + required: true + BREVO_API_KEY: + description: Token needed to authenticate requests to Brevo API if any + required: false + PRIVATE_KEY: + description: Private JSON Web Key that might be needed to run test script + required: false + PUBLIC_KEY: + description: Public JSON Web Key that might be needed to run test script + required: false + SLACK_APP_TOKEN: + description: Token to authenticate requests to Slack API if necessary + required: false jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 5 + test: + runs-on: ubuntu-latest + timeout-minutes: 5 - services: - postgres: - image: ${{ inputs.postgres && 'postgres' || '' }} - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: password - POSTGRES_DB: ${{ inputs.postgres }} - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 + services: + postgres: + image: ${{ inputs.postgres && 'postgres' || '' }} + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: password + POSTGRES_DB: ${{ inputs.postgres }} + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 - redis: - image: ${{ inputs.redis && 'redis' || '' }} - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 6379:6379 + redis: + image: ${{ inputs.redis && 'redis' || '' }} + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 6379:6379 - steps: - - name: Checkout Repository - uses: actions/checkout@v4 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 - - name: Setup Node.js Environment - uses: actions/setup-node@v4 - with: - always-auth: true - cache: "npm" - node-version-file: package.json - registry-url: https://registry.npmjs.org - scope: "@hedia" + - name: Setup Node.js Environment + uses: actions/setup-node@v4 + with: + always-auth: true + cache: "npm" + node-version-file: package.json + registry-url: https://registry.npmjs.org + scope: "@hedia" - - name: Install Dependencies - run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} + - name: Install Dependencies + run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} - - name: Download Build - uses: actions/download-artifact@v4 - with: - path: . - pattern: dist + - name: Download Build + uses: actions/download-artifact@v4 + with: + path: . + pattern: dist - - name: Create .env - env: - ENV_FILE: ${{secrets.ENV_FILE}} - if: env.ENV_FILE != null - run: echo "$ENV_FILE" > .env + - name: Create .env + env: + ENV_FILE: ${{secrets.ENV_FILE}} + if: env.ENV_FILE != null + run: echo "$ENV_FILE" > .env - - name: Setup Service - run: NODE_ENV=test npm run setup --if-present + - name: Setup Service + run: NODE_ENV=test npm run setup --if-present - - name: Run Tests - run: npm run test - env: - BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} - PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} - SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} + - name: Run Tests + run: npm run test + env: + BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} + SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} - - name: Upload Coverage - uses: actions/upload-artifact@v4 - with: - name: coverage - path: coverage.xml + - name: Upload Coverage + uses: actions/upload-artifact@v4 + with: + name: coverage + path: coverage.xml From 033e69a71e937fd4fd82e07a7766a230834c148c Mon Sep 17 00:00:00 2001 From: Jonatan Pedersen Date: Tue, 23 Apr 2024 09:58:33 +0200 Subject: [PATCH 4/5] style: tab width 4 --- .github/workflows/eslint.yml | 2 +- .github/workflows/prettier.yml | 2 +- .github/workflows/publish-please.yml | 4 +- .github/workflows/release-please.yml | 4 +- .github/workflows/sonarcloud.yml | 6 +- .github/workflows/test.yml | 190 +++++++++++++-------------- .github/workflows/typescript.yml | 6 +- .prettierrc.json | 3 + 8 files changed, 110 insertions(+), 107 deletions(-) create mode 100644 .prettierrc.json diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 789e918..6f9f941 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -23,7 +23,7 @@ jobs: cache: 'npm' node-version-file: package.json registry-url: https://registry.npmjs.org - scope: "@hedia" + scope: '@hedia' - name: Install Dependencies run: npm ci diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index ebfce60..10b42c8 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -23,7 +23,7 @@ jobs: cache: 'npm' node-version-file: package.json registry-url: https://registry.npmjs.org - scope: "@hedia" + scope: '@hedia' - name: Install Dependencies run: npm ci diff --git a/.github/workflows/publish-please.yml b/.github/workflows/publish-please.yml index 6583261..5f6241a 100644 --- a/.github/workflows/publish-please.yml +++ b/.github/workflows/publish-please.yml @@ -30,10 +30,10 @@ jobs: - name: Setup Node.js Environment uses: actions/setup-node@v3 with: - node-version-file: "package.json" + node-version-file: 'package.json' always-auth: true registry-url: https://registry.npmjs.org - scope: "@hedia" + scope: '@hedia' - name: Install Dependencies run: npm ci diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index dadef9d..71fb4bd 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -4,10 +4,10 @@ on: workflow_call: outputs: release_created: - description: "Whether or not a release was created" + description: 'Whether or not a release was created' value: ${{ jobs.release-please.outputs.release_created }} tag_name: - description: "The tag name (version number) of the release created" + description: 'The tag name (version number) of the release created' value: ${{ jobs.release-please.outputs.tag_name }} secrets: HEDIA_BOT_GITHUB_PAT: diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index cddf051..7173264 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -28,7 +28,7 @@ jobs: cache: 'npm' node-version-file: package.json registry-url: https://registry.npmjs.org - scope: "@hedia" + scope: '@hedia' - name: Install Dependencies run: npm ci @@ -38,8 +38,8 @@ jobs: - name: Download Coverage uses: actions/download-artifact@v4 with: - path: . - pattern: coverage + path: . + pattern: coverage - name: Check Coverage id: coverage diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99e2d4c..8248174 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,111 +1,111 @@ name: Test on: - workflow_call: - inputs: - postgres: - description: Database used in this workflow. Default to none - required: false - type: string - redis: - description: Whether or not to use Redis in this workflow. Default to false - required: false - default: false - type: boolean + workflow_call: + inputs: + postgres: + description: Database used in this workflow. Default to none + required: false + type: string + redis: + description: Whether or not to use Redis in this workflow. Default to false + required: false + default: false + type: boolean - secrets: - READONLY_NPM_TOKEN: - description: Needed to install private @hedia npm packages - required: true - SONAR_TOKEN: - description: Needed to run SonarCloud Scan - required: true - BREVO_API_KEY: - description: Token needed to authenticate requests to Brevo API if any - required: false - PRIVATE_KEY: - description: Private JSON Web Key that might be needed to run test script - required: false - PUBLIC_KEY: - description: Public JSON Web Key that might be needed to run test script - required: false - SLACK_APP_TOKEN: - description: Token to authenticate requests to Slack API if necessary - required: false + secrets: + READONLY_NPM_TOKEN: + description: Needed to install private @hedia npm packages + required: true + SONAR_TOKEN: + description: Needed to run SonarCloud Scan + required: true + BREVO_API_KEY: + description: Token needed to authenticate requests to Brevo API if any + required: false + PRIVATE_KEY: + description: Private JSON Web Key that might be needed to run test script + required: false + PUBLIC_KEY: + description: Public JSON Web Key that might be needed to run test script + required: false + SLACK_APP_TOKEN: + description: Token to authenticate requests to Slack API if necessary + required: false jobs: - test: - runs-on: ubuntu-latest - timeout-minutes: 5 + test: + runs-on: ubuntu-latest + timeout-minutes: 5 - services: - postgres: - image: ${{ inputs.postgres && 'postgres' || '' }} - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: password - POSTGRES_DB: ${{ inputs.postgres }} - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 + services: + postgres: + image: ${{ inputs.postgres && 'postgres' || '' }} + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: password + POSTGRES_DB: ${{ inputs.postgres }} + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 - redis: - image: ${{ inputs.redis && 'redis' || '' }} - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 6379:6379 + redis: + image: ${{ inputs.redis && 'redis' || '' }} + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 6379:6379 - steps: - - name: Checkout Repository - uses: actions/checkout@v4 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 - - name: Setup Node.js Environment - uses: actions/setup-node@v4 - with: - always-auth: true - cache: "npm" - node-version-file: package.json - registry-url: https://registry.npmjs.org - scope: "@hedia" + - name: Setup Node.js Environment + uses: actions/setup-node@v4 + with: + always-auth: true + cache: 'npm' + node-version-file: package.json + registry-url: https://registry.npmjs.org + scope: '@hedia' - - name: Install Dependencies - run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} + - name: Install Dependencies + run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.READONLY_NPM_TOKEN }} - - name: Download Build - uses: actions/download-artifact@v4 - with: - path: . - pattern: dist + - name: Download Build + uses: actions/download-artifact@v4 + with: + path: . + pattern: dist - - name: Create .env - env: - ENV_FILE: ${{secrets.ENV_FILE}} - if: env.ENV_FILE != null - run: echo "$ENV_FILE" > .env + - name: Create .env + env: + ENV_FILE: ${{secrets.ENV_FILE}} + if: env.ENV_FILE != null + run: echo "$ENV_FILE" > .env - - name: Setup Service - run: NODE_ENV=test npm run setup --if-present + - name: Setup Service + run: NODE_ENV=test npm run setup --if-present - - name: Run Tests - run: npm run test - env: - BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} - PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} - SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} + - name: Run Tests + run: npm run test + env: + BREVO_API_KEY: ${{ secrets.BREVO_API_KEY }} + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} + SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} - - name: Upload Coverage - uses: actions/upload-artifact@v4 - with: - name: coverage - path: coverage.xml + - name: Upload Coverage + uses: actions/upload-artifact@v4 + with: + name: coverage + path: coverage.xml diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index a9bf433..5f7f525 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -23,7 +23,7 @@ jobs: cache: 'npm' node-version-file: package.json registry-url: https://registry.npmjs.org - scope: "@hedia" + scope: '@hedia' - name: Install Dependencies run: npm ci @@ -36,5 +36,5 @@ jobs: - name: Upload Build uses: actions/upload-artifact@v4 with: - name: dist - path: dist + name: dist + path: dist diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..b6c5694 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "tabWidth": 4 +} \ No newline at end of file From a5f26c5e73b17d54b05454a591350bc06b47d1fc Mon Sep 17 00:00:00 2001 From: Jonatan Pedersen Date: Tue, 23 Apr 2024 10:01:16 +0200 Subject: [PATCH 5/5] style: use double quotes --- .github/workflows/eslint.yml | 4 ++-- .github/workflows/prettier.yml | 4 ++-- .github/workflows/publish-please.yml | 4 ++-- .github/workflows/release-please.yml | 4 ++-- .github/workflows/sonarcloud.yml | 4 ++-- .github/workflows/typescript.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 6f9f941..a15b979 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -20,10 +20,10 @@ jobs: uses: actions/setup-node@v4 with: always-auth: true - cache: 'npm' + cache: "npm" node-version-file: package.json registry-url: https://registry.npmjs.org - scope: '@hedia' + scope: "@hedia" - name: Install Dependencies run: npm ci diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 10b42c8..6f06674 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -20,10 +20,10 @@ jobs: uses: actions/setup-node@v4 with: always-auth: true - cache: 'npm' + cache: "npm" node-version-file: package.json registry-url: https://registry.npmjs.org - scope: '@hedia' + scope: "@hedia" - name: Install Dependencies run: npm ci diff --git a/.github/workflows/publish-please.yml b/.github/workflows/publish-please.yml index 5f6241a..6583261 100644 --- a/.github/workflows/publish-please.yml +++ b/.github/workflows/publish-please.yml @@ -30,10 +30,10 @@ jobs: - name: Setup Node.js Environment uses: actions/setup-node@v3 with: - node-version-file: 'package.json' + node-version-file: "package.json" always-auth: true registry-url: https://registry.npmjs.org - scope: '@hedia' + scope: "@hedia" - name: Install Dependencies run: npm ci diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 71fb4bd..dadef9d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -4,10 +4,10 @@ on: workflow_call: outputs: release_created: - description: 'Whether or not a release was created' + description: "Whether or not a release was created" value: ${{ jobs.release-please.outputs.release_created }} tag_name: - description: 'The tag name (version number) of the release created' + description: "The tag name (version number) of the release created" value: ${{ jobs.release-please.outputs.tag_name }} secrets: HEDIA_BOT_GITHUB_PAT: diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 7173264..9290938 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -25,10 +25,10 @@ jobs: uses: actions/setup-node@v4 with: always-auth: true - cache: 'npm' + cache: "npm" node-version-file: package.json registry-url: https://registry.npmjs.org - scope: '@hedia' + scope: "@hedia" - name: Install Dependencies run: npm ci diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 5f7f525..c144511 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -20,10 +20,10 @@ jobs: uses: actions/setup-node@v4 with: always-auth: true - cache: 'npm' + cache: "npm" node-version-file: package.json registry-url: https://registry.npmjs.org - scope: '@hedia' + scope: "@hedia" - name: Install Dependencies run: npm ci