Skip to content

Commit 77c20f7

Browse files
committed
chore: add .env file
1 parent 54bb177 commit 77c20f7

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/.environment

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
NODE_VERSION=20.x
2+
NPM_REGISTRY=https://registry.npmjs.org
3+
RUST_VERSION=stable
4+
ACTIONS_USER=github-actions
5+
ACTIONS_EMAIL=github-actions@github.com

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
- name: Set Environment Variables
3030
uses: falti/dotenv-action@d1cd55661714e830a6e26f608f81d36e23424fed # v1.1.2
3131
with:
32-
path: ./.github/.env
32+
path: ./.github/.environment
3333
export-variables: true
3434
keys-case: bypass
3535
- name: Install Node

.github/workflows/build_and_lint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Corepack
19-
run: corepack enable
20-
21-
- name: Install
22-
run: yarn
18+
- name: Setup Environment
19+
uses: ./.github/actions/setup
20+
with:
21+
use-rust: false
2322

2423
- name: Linting
2524
run: yarn lint

0 commit comments

Comments
 (0)