diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-04-04 11:59:05 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-04-04 11:59:05 +0200 |
| commit | 600414493597fb49357becdf2616e453f726dd19 (patch) | |
| tree | 148b84e0b72a97b7d01f2e70b4978cab19d73e26 /.github | |
| parent | 090566b45ea18793a83d108328628079c385ef57 (diff) | |
| parent | c1d4052f4f7a89a1ec9d85f5df7f53e59f3efa2a (diff) | |
| download | mullvadvpn-600414493597fb49357becdf2616e453f726dd19.tar.xz mullvadvpn-600414493597fb49357becdf2616e453f726dd19.zip | |
Merge branch 'fix-frontend-job'
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 |
