mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
test: use env variable variables in login.test.js
This commit is contained in:
@@ -26,6 +26,10 @@ jobs:
|
||||
${{ runner.os }}-node-
|
||||
- run: npm ci
|
||||
name: Install dependencies
|
||||
- name: Set Test Env
|
||||
run: |
|
||||
export NCM_API_TEST_LOGIN_PHONE=${{ secrets.NCM_API_TEST_LOGIN_PHONE }}
|
||||
export NCM_API_TEST_LOGIN_PASSWORD=${{ secrets.NCM_API_TEST_LOGIN_PASSWORD }}
|
||||
- name: Test
|
||||
run: npm test
|
||||
lint:
|
||||
|
||||
Reference in New Issue
Block a user