feat(dts-generator): add user-agent to HTTP requests #224
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: Continuous Integration | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
# See: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012 | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Full Build (node ${{ matrix.node_version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: | |
- 18.x | |
- 20.x | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn run ci |