Testing #787
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
jobs: | |
buildWithSubmodule: | |
name: Run Unit Test | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
node: [20] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Checkout repository with submodules | |
run: | | |
git config --file .gitmodules --get-regexp url | while read url; do | |
git config --file=.gitmodules $(echo "$url" | sed -E "s/[email protected]:|https:\/\/github.com\//https:\/\/${{ secrets.PAT_TOKEN }}:${{ secrets.PAT_TOKEN }}@github.com\//") | |
done | |
git submodule sync | |
git submodule update --init --recursive |