diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/frontend.yml | 13 | ||||
| -rw-r--r-- | .github/workflows/translations.yml | 16 |
2 files changed, 15 insertions, 14 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 78d879d9e3..28aa6e2ad7 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -23,20 +23,21 @@ jobs: uses: actions/checkout@v2 - name: Setup Node.js environment - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v3 with: node-version: '16.9.1' + cache: 'npm' + cache-dependency-path: gui/package-lock.json - name: Update NPM run: npm i -g npm - - name: Install and cache dependencies - uses: bahmutov/npm-install@v1 - with: - working-directory: gui - install-command: npm ci + - name: Install dependencies + working-directory: gui + run: npm ci - name: Check formatting + if: matrix.os == 'ubuntu-latest' working-directory: gui run: npm run lint diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index dead997706..1fd46c98d6 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -16,19 +16,19 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node.js - uses: actions/setup-node@v2 + - name: Setup Node.js environment + uses: actions/setup-node@v3 with: - node-version: '14' + node-version: '16.9.1' + cache: 'npm' + cache-dependency-path: gui/package-lock.json - name: Update NPM run: npm i -g npm - - name: Install and cache JS dependencies - uses: bahmutov/npm-install@v1 - with: - working-directory: gui - install-command: npm ci + - name: Install JS dependencies + working-directory: gui + run: npm ci - name: Install nightly Rust uses: ATiltedTree/setup-rust@v1.0.4 |
