mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-01 07:38:33 -04:00
Use yarn berry (#1726)
This commit is contained in:
parent
4089f0c6ed
commit
68a7546a5d
11 changed files with 15103 additions and 10330 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
- name: Cache yarn cache
|
||||
uses: actions/cache@v2
|
||||
id: yarn-cache
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile --prefer-offline
|
||||
run: yarn install --immutable
|
||||
- name: Test Project
|
||||
run: yarn test:ci
|
||||
- name: Build project
|
||||
|
|
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
|
||||
- name: Cache yarn cache
|
||||
uses: actions/cache@v2
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
run: yarn install --frozen-lockfile --prefer-offline
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build test production build
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
|
|
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
|
||||
- name: Cache yarn cache
|
||||
uses: actions/cache@v2
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile --prefer-offline
|
||||
run: yarn install --immutable
|
||||
- name: Lint code
|
||||
run: yarn lint
|
||||
format:
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
|||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
|
||||
- name: Cache yarn cache
|
||||
uses: actions/cache@v2
|
||||
|
@ -64,6 +64,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile --prefer-offline
|
||||
run: yarn install --immutable
|
||||
- name: Lint code
|
||||
run: yarn format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue