Skip to content

feat: 🎸 Upgrade libs & support react 18 #28

feat: 🎸 Upgrade libs & support react 18

feat: 🎸 Upgrade libs & support react 18 #28

Workflow file for this run

name: Test, build and publish
on:
push:
branches:
- master
env:
CI: true
jobs:
test-build-publish:
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test:coverage
- name: Build
run: npm run build
- name: Publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}