Skip to content

Commit

Permalink
fix: fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
UrazAkgultan committed Jan 4, 2024
1 parent 57cf5e6 commit fc138eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- name: "Install yarn"
run: npm i --g yarn

- name: "Checking changed files"
id: files
uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
Expand Down Expand Up @@ -47,17 +50,6 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: "Get yarn cache directory path"
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
- name: "Defining cache"
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
env:
cache-name: cache-node-modules
with:
path: ${{ env.dir }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: "Installing dependencies"
run: yarn install
- name: "Running build for development"
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,6 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: "Get yarn cache directory path"
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
- name: "Defining cache"
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
env:
cache-name: cache-node-modules
with:
path: ${{ env.dir }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: "Installing dependencies"
run: yarn install
- name: "Running release for production"
Expand Down

0 comments on commit fc138eb

Please sign in to comment.