Skip to content

Remove dotenv dependency, use process.loadEnvFile()#32

Merged
carlansley merged 4 commits into
mainfrom
remove-dotenv
May 1, 2024
Merged

Remove dotenv dependency, use process.loadEnvFile()#32
carlansley merged 4 commits into
mainfrom
remove-dotenv

Conversation

@carlansley

Copy link
Copy Markdown
Contributor

Fixes #31

@carlansley carlansley self-assigned this May 1, 2024
@carlansley
carlansley requested review from le-cong and ramaghanta May 1, 2024 20:39

@ramaghanta ramaghanta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lftm

@le-cong le-cong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a few minor CI config comments

steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: actions/checkout@v4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back 'name'?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just re-copied everything from package standards, should be good now.

Comment thread .github/workflows/ci.yml
branchBuild:
name: Branch Build
runs-on: ubuntu-latest
name: Branch Build

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move name before 'runs-on'?

Comment thread .github/workflows/publish.yml Outdated
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- uses: actions/checkout@v4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back name?

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Imports
uses: checkdigit/github-actions/check-imports@main
- name: Install latest npm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we keep Check Imports?

Comment thread package.json
"type": "module",
"engines": {
"node": ">=20.11"
"node": ">=20.12"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the luke document has to be updated to specify node>=20.12 to make this work, right?

@carlansley carlansley May 1, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably should be updated at some point, but just updating to this package will be enough for npm to complain about the engine version, if you're running < 20.12.

@github-actions

github-actions Bot commented May 1, 2024

Copy link
Copy Markdown

Beta Published - Install Command: npm install @checkdigit/jest-config@6.0.1-PR.32-96a8

@carlansley
carlansley requested a review from le-cong May 1, 2024 21:40

@le-cong le-cong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-actions

github-actions Bot commented May 1, 2024

Copy link
Copy Markdown

✅ PR review status - All reviews completed and approved!

@carlansley
carlansley merged commit a0d8985 into main May 1, 2024
@carlansley
carlansley deleted the remove-dotenv branch May 1, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove dotenv dependency

3 participants