diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index ec18c9f..bf0deea 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -16,13 +16,16 @@ jobs: uses: actions/checkout@v3 - name: Setup environment and dependencies uses: ./.github/actions/setup + - name: Create .env file + uses: SpicyPizza/create-envfile@v2.0 + with: + envkey_BUILD: production + envkey_DEBUG: false + envkey_SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }} + file_name: .env - name: Build lib shell: bash run: pnpm run build:lib - env: - BUILD: production - DEBUG: false - SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }} - name: Publish package shell: bash run: pnpm publish --no-git-checks --access public diff --git a/package.json b/package.json index debcca0..fbed630 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hcaptcha/loader", "description": "This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.", - "version": "1.0.1", + "version": "1.0.2", "author": "hCaptcha team and contributors", "license": "MIT", "keywords": [