Merge pull request #390 from mailgun/dependabot/npm_and_yarn/axios-1.6.0 #158
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: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
on-pull-request: | |
name: test | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/hydrogen | |
- name: Print node version | |
run: node -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint | |
- name: Run build | |
run: npm run build | |
- name: Run tests | |
run: npm test | |
- name: Show expected changes in the changelog file | |
run: npm run release:test |