Skip to content

Commit 6536578

Browse files
chore: update github workflows (#602)
1 parent 10e0d89 commit 6536578

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/workflows/compressed-size.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2-beta
10+
- uses: actions/checkout@v2.3.1
1111
with:
1212
fetch-depth: 1
13-
- uses: preactjs/compressed-size-action@v1
13+
- uses: preactjs/compressed-size-action@v2
1414
with:
1515
repo-token: '${{ secrets.GITHUB_TOKEN }}'
1616
pattern: 'packages/**/lib/**/*.js'

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
# Steps represent a sequence of tasks that will be executed as part of the job
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v2.3.1
1515
with:
1616
persist-credentials: false
1717

1818
- name: Setup Node.js environment
19-
uses: actions/setup-node@v1.4.2
19+
uses: actions/setup-node@v2.1.0
2020
with:
2121
node-version: 12.x
2222

@@ -28,9 +28,10 @@ jobs:
2828
UI5_WEBCOMPONENTS_FOR_REACT_RELEASE_BUILD: true
2929

3030
- name: Deploy 🚀
31-
uses: JamesIves/github-pages-deploy-action@releases/v3
31+
uses: JamesIves/github-pages-deploy-action@3.5.7
3232
with:
3333
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
3434
BRANCH: gh-pages # The branch the action should deploy to.
3535
FOLDER: .out # The folder the action should deploy.
3636
TARGET_FOLDER: master
37+
CLEAN: true

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
CI: true
1717

1818
steps:
19-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v2.3.1
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@v2.1.0
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- name: install dependencies
2525
run: yarn install
2626
- name: run tests
2727
run: yarn test
2828
- name: Coveralls
29-
uses: coverallsapp/github-action@master
29+
uses: coverallsapp/github-action@v1.1.1
3030
with:
3131
github-token: ${{ secrets.GITHUB_TOKEN }}
3232
- name: build project

.github/workflows/npm-snapshot-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2.3.1
1515
- name: Use Node.js
16-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v2.1.0
1717
with:
1818
node-version: '12.x'
1919
- name: install dependencies

0 commit comments

Comments
 (0)