chore(deps-dev): bump @changesets/cli from 2.26.2 to 2.27.1 (#212) #530
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: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js v18.14 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.14 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Check licenses | |
run: npm run check:licenses | |
- name: Check security vulnerabilities | |
run: npm run check:security | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test:ci | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Create release PR or publish to npm | |
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/canary') | |
uses: changesets/action@master | |
with: | |
publish: npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_PAT }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |