fix: update dependencies and chores (#19) #22
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: Release | |
on: | |
push: | |
branches: | |
master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout repository | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
name: Setup Node.JS | |
- name: Install packages | |
run: npm ci | |
- run: npm run build | |
name: Compile library | |
- run: npm run test | |
name: Run unit tests | |
- run: npm run test:integration | |
name: Run integration test | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |