Skip to content

Commit

Permalink
Fixing where we set NODE_ENV in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ehutchllew committed Nov 22, 2023
1 parent 0275163 commit bc0f9c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
contents: read
packages: write

env:
NODE_ENV: "production"

steps:

Expand All @@ -31,11 +29,10 @@ jobs:
registry-url: https://npm.pkg.github.com
scope: "@ev-the-dev"

- run: echo $NODE_ENV
- run: npm ci

- name: publish libs
run: npm publish

env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: production

0 comments on commit bc0f9c2

Please sign in to comment.