diff --git a/.github/workflows/nodejs_player.yml b/.github/workflows/nodejs_player.yml index 6b8fda3..4a96913 100644 --- a/.github/workflows/nodejs_player.yml +++ b/.github/workflows/nodejs_player.yml @@ -26,9 +26,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - cache-dependency-path: web/player/package-lock.json + cache-dependency-path: web/package-lock.json - name: npm build run: | npm install npm run build --if-present - working-directory: ./web/player + working-directory: ./web diff --git a/.github/workflows/nodejx_index.yml b/.github/workflows/nodejx_index.yml deleted file mode 100644 index 86a7efb..0000000 --- a/.github/workflows/nodejx_index.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - -name: Node.js CI index - -on: - push: - branches: [ "master", "dev" ] - pull_request: - branches: [ "master", "dev" ] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [lts/*] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - cache-dependency-path: web/index/package-lock.json - - name: npm build - run: | - npm install - npm run build --if-present - working-directory: ./web/index