Rewrite library to fix vulnerable dependencies #4
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: Test | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.12.0 | |
- name: Install dependencies | |
run: yarn install | |
- name: Generate API file | |
run: yarn generate | |
- name: Check generated files match | |
uses: tj-actions/verify-changed-files@v19 | |
with: | |
files: | | |
src/Brevo.ts | |
fail-if-changed: true | |
fail-message: "Generate API file is different to the committed one. Please run `yarn generate` and commit the changes." |