1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-25 00:08:40 +00:00

Fix issues when uploading artifacts from CI

This commit is contained in:
LASER-Yi 2021-03-27 13:56:28 +08:00
parent cd5054c5db
commit c2734bd672

View file

@ -12,10 +12,6 @@ jobs:
env: env:
UI_DIRECTORY: ./frontend UI_DIRECTORY: ./frontend
strategy:
matrix:
node-version: [14.x]
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -27,10 +23,10 @@ jobs:
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-modules- restore-keys: ${{ runner.os }}-modules-
- name: Set up Node.js ${{ matrix.node-version }} - name: Setup NodeJS
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: ${{ matrix.node-version }} node-version: "15.x"
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
@ -43,4 +39,4 @@ jobs:
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: "ui" name: "ui"
path: "${{ env.UI_DIRECTORY }}/frontend/build" path: "${{ env.UI_DIRECTORY }}/build"