mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 15:27:38 +08:00
Fix issues when uploading artifacts from CI
This commit is contained in:
parent
cd5054c5db
commit
c2734bd672
1 changed files with 4 additions and 8 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -12,10 +12,6 @@ jobs:
|
|||
env:
|
||||
UI_DIRECTORY: ./frontend
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
@ -27,10 +23,10 @@ jobs:
|
|||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: ${{ runner.os }}-modules-
|
||||
|
||||
- name: Set up Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
- name: Setup NodeJS
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
node-version: "15.x"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
@ -43,4 +39,4 @@ jobs:
|
|||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: "ui"
|
||||
path: "${{ env.UI_DIRECTORY }}/frontend/build"
|
||||
path: "${{ env.UI_DIRECTORY }}/build"
|
||||
|
|
Loading…
Reference in a new issue