Skip to content

feat(deps): replace @inquirer/confirm with prompts (#23) #42

feat(deps): replace @inquirer/confirm with prompts (#23)

feat(deps): replace @inquirer/confirm with prompts (#23) #42

Workflow file for this run

name: Main
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-release:
name: Test and release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Coverage
uses: codecov/codecov-action@v3
- name: Release
uses: cycjimmy/semantic-release-action@v3
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}