Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maphel committed Sep 4, 2023
1 parent 520012d commit b243fc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Yarn 3 (Berry)
run: npm install -g yarn@berry

- name: Set up Yarn 3
run: yarn set version berry
cache: yarn

- name: Install dependencies
run: yarn install --immutable

- name: Lint
run: yarn lint

- name: Build
run: yarn build

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ jobs:
ref: main
fetch-depth: 0

- name: Cache Yarn dependencies
uses: actions/cache@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
path: .yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: 18
cache: yarn

- name: Install dependencies
run: yarn install --immutable
Expand Down

0 comments on commit b243fc2

Please sign in to comment.