Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 3bd1c8d

Browse files
committed
ci: fix syntax errors
1 parent 87aa7db commit 3bd1c8d

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

.github/workflows/pr.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
node-version: [14]
2121
steps:
2222
- name: Get Yarn cache path
23-
id: yarn-cache
24-
run: echo "::set-output name=dir::$(yarn cache dir)"
23+
id: yarn-cache
24+
run: echo "::set-output name=dir::$(yarn cache dir)"
2525

2626
- name: Checkout
2727
uses: actions/checkout@v2
@@ -32,12 +32,12 @@ jobs:
3232
node-version: ${{ matrix.node-version }}
3333

3434
- name: Load Yarn cache
35-
uses: actions/cache@v2
36-
with:
37-
path: ${{ steps.yarn-cache.outputs.dir }}
38-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39-
restore-keys: |
40-
${{ runner.os }}-yarn-
35+
uses: actions/cache@v2
36+
with:
37+
path: ${{ steps.yarn-cache.outputs.dir }}
38+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39+
restore-keys: |
40+
${{ runner.os }}-yarn-
4141
4242
- name: Install dependencies
4343
run: yarn install --frozen-lockfile && yarn bootstrap
@@ -56,27 +56,27 @@ jobs:
5656
bundlesize:
5757
runs-on: ubuntu-latest
5858
steps:
59-
- name: Get Yarn cache path
60-
id: yarn-cache
61-
run: echo "::set-output name=dir::$(yarn cache dir)"
59+
- name: Get Yarn cache path
60+
id: yarn-cache
61+
run: echo "::set-output name=dir::$(yarn cache dir)"
6262

63-
- name: Checkout
64-
uses: actions/checkout@master
63+
- name: Checkout
64+
uses: actions/checkout@master
6565

66-
- name: Setup Node.js 14.x
67-
uses: actions/setup-node@master
68-
with:
69-
node-version: 14.x
66+
- name: Setup Node.js 14.x
67+
uses: actions/setup-node@master
68+
with:
69+
node-version: 14.x
7070

71-
- name: Load Yarn cache
72-
uses: actions/cache@v2
73-
with:
74-
path: ${{ steps.yarn-cache.outputs.dir }}
75-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
76-
restore-keys: |
77-
${{ runner.os }}-yarn-
78-
- name: compressed-size-action
79-
uses: preactjs/compressed-size-action@v2
80-
with:
81-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
82-
pattern: "**/dist/**/*.prod.js"
71+
- name: Load Yarn cache
72+
uses: actions/cache@v2
73+
with:
74+
path: ${{ steps.yarn-cache.outputs.dir }}
75+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
76+
restore-keys: |
77+
${{ runner.os }}-yarn-
78+
- name: compressed-size-action
79+
uses: preactjs/compressed-size-action@v2
80+
with:
81+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
82+
pattern: "**/dist/**/*.prod.js"

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
node-version: 14
3333

3434
- name: Load Yarn cache
35-
uses: actions/cache@v2
36-
with:
37-
path: ${{ steps.yarn-cache.outputs.dir }}
38-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39-
restore-keys: |
40-
${{ runner.os }}-yarn-
35+
uses: actions/cache@v2
36+
with:
37+
path: ${{ steps.yarn-cache.outputs.dir }}
38+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39+
restore-keys: |
40+
${{ runner.os }}-yarn-
4141
4242
- name: Install dependencies
4343
run: yarn install --frozen-lockfile && yarn bootstrap

0 commit comments

Comments
 (0)