Skip to content

Commit

Permalink
GitHub Actions: Bump actions to v4 and node to v20 (#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine authored Apr 16, 2024
1 parent a67791b commit bac4255
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
persist-credentials: false
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

env:
CI: true
HUSKY: 0

jobs:
run:
Expand All @@ -18,15 +17,15 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: 'BrowserStack Env Setup'
uses: 'browserstack/github-actions/setup-env@master'
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
CI: true
HUSKY: 0

jobs:
run:
Expand All @@ -19,15 +18,15 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: Install npm dependencies
run: yarn && cd functions && yarn
run: yarn

- name: Lint
run: yarn lint
7 changes: 3 additions & 4 deletions .github/workflows/puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
CI: true
HUSKY: 0

jobs:
run:
Expand All @@ -19,12 +18,12 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: Install npm dependencies
run: yarn
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
CI: true
HUSKY: 0

jobs:
run:
Expand All @@ -19,15 +18,15 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: Install npm dependencies
run: yarn && cd functions && yarn
run: yarn

- name: Test
run: yarn test

0 comments on commit bac4255

Please sign in to comment.