Skip to content

Commit

Permalink
fix(ci): Add .env file (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
brdlyptrs authored Oct 11, 2023
1 parent e36f9a0 commit cdfebf9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ jobs:
uses: actions/checkout@v3
- name: Setup environment and dependencies
uses: ./.github/actions/setup
- name: Create .env file
uses: SpicyPizza/[email protected]
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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit cdfebf9

Please sign in to comment.