Skip to content

Commit

Permalink
revert: .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jan 23, 2024
1 parent 9172478 commit d35279c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .env

This file was deleted.

10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Expand Up @@ -12,10 +12,10 @@ jobs:

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

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

Expand All @@ -28,12 +28,6 @@ jobs:
- name: Build
run: pnpm build

- name: Test
run: pnpm test

- name: Lint
run: pnpm lint

- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -34,6 +34,10 @@ jobs:
run: pnpm build

- name: Test
env:
# This can't be added to the package.json script because we also test Node.js v16
# https://github.com/webpack/webpack/issues/14532
NODE_OPTIONS: --openssl-legacy-provider
run: pnpm test

- name: Test Node.js v16
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -38,8 +38,8 @@
},
"scripts": {
"build": "pkgroll --target=node16.19.0",
"test": "tsx --env-file .env tests",
"dev": "tsx watch --env-file .env --conditions=development tests",
"test": "tsx tests",
"dev": "tsx watch --conditions=development tests",
"lint": "eslint --cache .",
"type-check": "tsc --noEmit",
"prepack": "pnpm build && clean-pkg-json"
Expand Down

0 comments on commit d35279c

Please sign in to comment.