Skip to content

Commit d95a25d

Browse files
ci: Update workflows (#1074)
1 parent ff43aed commit d95a25d

6 files changed

Lines changed: 36 additions & 29 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ updates:
99
commit-message:
1010
prefix: "chore"
1111
include: "scope"
12+
13+
- package-ecosystem: github-actions
14+
directory: "/"
15+
schedule:
16+
interval: weekly
17+
time: "11:00"
18+
day: "tuesday"
19+
open-pull-requests-limit: 5
20+
commit-message:
21+
prefix: "chore"
22+
include: "scope"

.github/workflows/functional-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
2929
runs-on: ${{matrix.test_targets.HOST_OS}}
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-node@v3
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-node@v4
3333
with:
3434
node-version: lts/*
35+
check-latest: true
3536
- uses: maxim-lobanov/setup-xcode@v1
3637
with:
3738
xcode-version: ${{matrix.test_targets.XCODE_VERSION}}

.github/workflows/pr-title.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
name: Conventional Commits
22
on:
33
pull_request:
4-
4+
types: [opened, edited, synchronize, reopened]
55

66
jobs:
77
lint:
8-
name: https://www.conventionalcommits.org
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: beemojs/conventional-pr-action@v3
12-
with:
13-
config-preset: angular
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8+
uses: appium/appium-workflows/.github/workflows/pr-title.yml@main
9+
with:
10+
config-preset: angular

.github/workflows/publish.js.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ jobs:
2525
DESTINATION_SIM_TVOS: platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
2626

2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v4
2929
- name: Use Node.js
30-
uses: actions/setup-node@v3
30+
uses: actions/setup-node@v4
3131
with:
3232
node-version: lts/*
33+
- uses: SocketDev/action@v1
34+
with:
35+
mode: firewall-free
3336
- uses: maxim-lobanov/setup-xcode@v1
3437
with:
3538
xcode-version: "${{ env.XCODE_VERSION }}"
36-
- run: npm install --no-package-lock
39+
- run: sfw npm install --no-package-lock
3740
name: Install dev dependencies
3841
- run: npm run build
3942
name: Run build

.github/workflows/unit-test.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,25 @@ on: [pull_request, push]
44

55

66
jobs:
7-
prepare_matrix:
8-
runs-on: ubuntu-latest
9-
outputs:
10-
versions: ${{ steps.generate-matrix.outputs.lts }}
11-
steps:
12-
- name: Select all current LTS versions of Node.js
13-
id: generate-matrix
14-
uses: msimerson/node-lts-versions@v1
7+
node_matrix:
8+
uses: appium/appium-workflows/.github/workflows/node-lts-matrix.yml@main
159

16-
test:
10+
node_test:
1711
needs:
18-
- prepare_matrix
12+
- node_matrix
1913
strategy:
2014
matrix:
21-
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
15+
node-version: ${{ fromJSON(needs.node_matrix.outputs.versions) }}
2216
runs-on: macos-latest
2317
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
2620
with:
2721
node-version: ${{ matrix.node-version }}
28-
- run: npm install --no-package-lock
22+
- uses: SocketDev/action@v1
23+
with:
24+
mode: firewall-free
25+
- run: sfw npm install --no-package-lock
2926
name: Install dev dependencies
3027
- run: npm run lint
3128
name: Run linter

.github/workflows/wda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
simulator_name: Debug-appletvsimulator
9292
steps:
9393
- name: Checkout
94-
uses: actions/checkout@v3
94+
uses: actions/checkout@v4
9595
- uses: maxim-lobanov/setup-xcode@v1
9696
with:
9797
xcode-version: "${{ env.XCODE_VERSION }}"

0 commit comments

Comments
 (0)