diff --git a/.github/dependabot.yml b/.github/dependabot.yml index efc8b6d5b..3c5fbd252 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,14 @@ updates: commit-message: prefix: "chore" include: "scope" + +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + time: "11:00" + day: "tuesday" + open-pull-requests-limit: 5 + commit-message: + prefix: "chore" + include: "scope" diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index 49785ee23..e13ac623d 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -28,10 +28,11 @@ jobs: # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md runs-on: ${{matrix.test_targets.HOST_OS}} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: lts/* + check-latest: true - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: ${{matrix.test_targets.XCODE_VERSION}} diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 0ff687ca8..929df1336 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -1,15 +1,10 @@ name: Conventional Commits on: pull_request: - + types: [opened, edited, synchronize, reopened] jobs: lint: - name: https://www.conventionalcommits.org - runs-on: ubuntu-latest - steps: - - uses: beemojs/conventional-pr-action@v3 - with: - config-preset: angular - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: appium/appium-workflows/.github/workflows/pr-title.yml@main + with: + config-preset: angular diff --git a/.github/workflows/publish.js.yml b/.github/workflows/publish.js.yml index 38dc80e0a..b4b7edc6a 100644 --- a/.github/workflows/publish.js.yml +++ b/.github/workflows/publish.js.yml @@ -25,15 +25,18 @@ jobs: DESTINATION_SIM_TVOS: platform=tvOS Simulator,name=Apple TV 4K (3rd generation) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* + - uses: SocketDev/action@v1 + with: + mode: firewall-free - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: "${{ env.XCODE_VERSION }}" - - run: npm install --no-package-lock + - run: sfw npm install --no-package-lock name: Install dev dependencies - run: npm run build name: Run build diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6ff82176d..781346077 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -4,28 +4,25 @@ on: [pull_request, push] jobs: - prepare_matrix: - runs-on: ubuntu-latest - outputs: - versions: ${{ steps.generate-matrix.outputs.lts }} - steps: - - name: Select all current LTS versions of Node.js - id: generate-matrix - uses: msimerson/node-lts-versions@v1 + node_matrix: + uses: appium/appium-workflows/.github/workflows/node-lts-matrix.yml@main - test: + node_test: needs: - - prepare_matrix + - node_matrix strategy: matrix: - node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }} + node-version: ${{ fromJSON(needs.node_matrix.outputs.versions) }} runs-on: macos-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: npm install --no-package-lock + - uses: SocketDev/action@v1 + with: + mode: firewall-free + - run: sfw npm install --no-package-lock name: Install dev dependencies - run: npm run lint name: Run linter diff --git a/.github/workflows/wda-package.yml b/.github/workflows/wda-package.yml index 37794e763..9a62bebed 100644 --- a/.github/workflows/wda-package.yml +++ b/.github/workflows/wda-package.yml @@ -91,7 +91,7 @@ jobs: simulator_name: Debug-appletvsimulator steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: "${{ env.XCODE_VERSION }}"