Skip to content

Commit 995778b

Browse files
authored
fix: workflow
1 parent c50f571 commit 995778b

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,14 @@ jobs:
2121
contents: write
2222

2323
steps:
24-
# Setup file access & Cache
25-
- uses: actions/checkout@v2
26-
- uses: actions/cache@v2
27-
with:
28-
path: |
29-
.yarn/cache
30-
key: |
31-
yarn2-${{ hashFiles('yarn.lock') }}
32-
restore-keys: |
33-
yarn2-${{ hashFiles('yarn.lock') }}
34-
3524
# Building with yarn
36-
- uses: borales/actions-yarn@v2.3.0
37-
with:
38-
cmd: install
39-
- uses: borales/actions-yarn@v2.3.0
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-node@v3
4027
with:
41-
cmd: build
28+
node-version: '14'
29+
cache: 'yarn'
30+
- run: yarn install --frozen-lockfile --immutable
31+
- run: yarn build
4232

4333
# Pushing to release
4434
- name: Release

0 commit comments

Comments
 (0)