fix: ⬆️ Updating the axios version to remove the vulnerability issue #19
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: Pull Request | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install --frozen-lockfile | |
- run: openssl genrsa -out private.pem 4096 | |
- run: openssl req -new -x509 -key private.pem -out public.cer -subj '/C=IN' | |
- run: yarn build | |
- run: yarn test | |
- run: yarn test:unit | |
- run: rm -rf private.pem public.cer |