Update simple-git and add support for GIT_TOKEN #1212
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: | |
push: | |
branches: ['*'] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ['20'] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
include: | |
- node: '18' | |
os: ubuntu-latest | |
- node: '22' | |
os: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn --frozen-lockfile | |
- run: yarn build | |
- run: yarn test:unit | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: yarn --frozen-lockfile | |
- run: yarn check:lint | |
- run: yarn prettier:check |