From e18c2fa6e1624a0208843a8255956ced7e833979 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Fri, 19 Nov 2021 18:54:50 -0800 Subject: [PATCH] CI: drop "--no-optional" npm flag --- .github/workflows/build.yml | 2 +- .github/workflows/check.yml | 2 +- .github/workflows/publish-rolling.yml | 2 +- .github/workflows/test-backend.yml | 2 +- Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c957cff..f9ebcbb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,6 @@ jobs: with: node-version: ${{ matrix.node }} - - run: npm ci --no-optional + - run: npm ci - run: npm run build - run: npm run start -- --help diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6bea1245..3d66ad20 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,5 +26,5 @@ jobs: with: node-version: ${{ matrix.node }} - - run: npm ci --no-optional + - run: npm ci - run: npm run ${{ matrix.check }} diff --git a/.github/workflows/publish-rolling.yml b/.github/workflows/publish-rolling.yml index 393a3e50..1c6ced80 100644 --- a/.github/workflows/publish-rolling.yml +++ b/.github/workflows/publish-rolling.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ matrix.node }} registry-url: 'https://registry.npmjs.org' - - run: npm ci --no-optional + - run: npm ci - name: Tag rolling release id: tag_release diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index 5702e3fb..983a2725 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -34,7 +34,7 @@ jobs: unzip rtorrent-deb-amd64.zip sudo dpkg -i rtorrent-deb.deb - - run: npm ci --no-optional + - run: npm ci - run: npm test || npm test || npm test - uses: codecov/codecov-action@v1 diff --git a/Dockerfile b/Dockerfile index 402417b5..deb29f66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ WORKDIR /usr/src/app/ COPY . ./ # Fetch dependencies from npm -RUN npm ci --no-optional +RUN npm ci # Build assets RUN npm run build-assets