Skip to content

Commit fc138eb

Browse files
committed
fix: fix pipeline
1 parent 57cf5e6 commit fc138eb

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

.github/workflows/Build.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
os: [ubuntu-latest, windows-latest]
1919

2020
steps:
21+
- name: "Install yarn"
22+
run: npm i --g yarn
23+
2124
- name: "Checking changed files"
2225
id: files
2326
uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
@@ -47,17 +50,6 @@ jobs:
4750
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
4851
with:
4952
node-version-file: ".nvmrc"
50-
cache: "yarn"
51-
- name: "Get yarn cache directory path"
52-
id: yarn-cache-dir-path
53-
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
54-
- name: "Defining cache"
55-
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
56-
env:
57-
cache-name: cache-node-modules
58-
with:
59-
path: ${{ env.dir }}
60-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
6153
- name: "Installing dependencies"
6254
run: yarn install
6355
- name: "Running build for development"

.github/workflows/Release.yml

-11
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ jobs:
4444
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
4545
with:
4646
node-version-file: ".nvmrc"
47-
cache: "yarn"
48-
- name: "Get yarn cache directory path"
49-
id: yarn-cache-dir-path
50-
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
51-
- name: "Defining cache"
52-
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
53-
env:
54-
cache-name: cache-node-modules
55-
with:
56-
path: ${{ env.dir }}
57-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
5847
- name: "Installing dependencies"
5948
run: yarn install
6049
- name: "Running release for production"

0 commit comments

Comments
 (0)