Skip to content

Update release.yml

Update release.yml #30

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run Tests
run: npm run ci:test -- --coverage
- name: Codecov
uses: codecov/[email protected]
with:
name: Coverage report
token: ${{ secrets.CODE_COVERAGE_TOKEN }}
directory: coverage/
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release