Skip to content

Commit bc4d01c

Browse files
committed
Update all actions workflows
1 parent e13d414 commit bc4d01c

3 files changed

Lines changed: 6 additions & 67 deletions

File tree

.github/workflows/build_test.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,36 +23,17 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0
2929

3030
- name: Setup LTS Node
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v6
3232
with:
3333
node-version: 'lts/*'
3434
cache: 'yarn'
3535

36-
- name: Install yarn
37-
run: npm install -g yarn
38-
39-
- name: Get yarn cache directory path
40-
id: yarn-cache-dir-path
41-
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
42-
43-
- name: Cache yarn dependencies
44-
uses: actions/cache@v3
45-
id: yarn-cache
46-
with:
47-
path: |
48-
${{ steps.yarn-cache-dir-path.outputs.dir }}
49-
**\node_modules
50-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
51-
restore-keys: |
52-
${{ runner.os }}-yarn-
53-
5436
- name: Install dependencies
55-
if: steps.yarn-cache.outputs.cache-hit != 'true'
5637
run: yarn install
5738

5839
- name: Build packages

.github/workflows/build_test_release.yml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ on:
1111

1212
env:
1313
HUSKY: 0
14-
GIT_AUTHOR_NAME: kirangadhave
15-
GIT_AUTHOR_EMAIL: kirangadhave2@gmail.com
16-
GIT_COMMITTER_NAME: kirangadhave
17-
GIT_COMMITTER_EMAIL: kirangadhave2@gmail.com
1814

1915
jobs:
2016
release:
@@ -23,37 +19,18 @@ jobs:
2319

2420
steps:
2521
- name: Checkout
26-
uses: actions/checkout@v3
22+
uses: actions/checkout@v6
2723
with:
2824
fetch-depth: 0
2925
token: ${{ secrets.TRRACK_GITHUB_TOKEN }}
3026

3127
- name: Setup LTS Node
32-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v6
3329
with:
3430
node-version: 'lts/*'
3531
cache: 'yarn'
3632

37-
- name: Install yarn
38-
run: npm install -g yarn
39-
40-
- name: Get yarn cache directory path
41-
id: yarn-cache-dir-path
42-
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
43-
44-
- name: Cache yarn dependencies
45-
uses: actions/cache@v3
46-
id: yarn-cache
47-
with:
48-
path: |
49-
${{ steps.yarn-cache-dir-path.outputs.dir }}
50-
**\node_modules
51-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
52-
restore-keys: |
53-
${{ runner.os }}-yarn-
54-
5533
- name: Install dependencies
56-
if: steps.yarn-cache.outputs.cache-hit != 'true'
5734
run: yarn install
5835

5936
- name: Build packages

.github/workflows/deploy_docs.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,17 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Setup LTS Node
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: 'lts/*'
2323
cache: 'yarn'
2424

25-
- name: Install yarn
26-
run: npm install -g yarn
27-
28-
- name: Get yarn cache directory path
29-
id: yarn-cache-dir-path
30-
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
31-
32-
- name: Cache yarn dependencies
33-
uses: actions/cache@v3
34-
id: yarn-cache
35-
with:
36-
path: |
37-
${{ steps.yarn-cache-dir-path.outputs.dir }}
38-
**\node_modules
39-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
40-
restore-keys: |
41-
${{ runner.os }}-yarn-
42-
4325
- name: Install dependencies
44-
if: steps.yarn-cache.outputs.cache-hit != 'true'
4526
run: yarn install
4627

4728
- name: Build @trrack/core

0 commit comments

Comments
 (0)