Skip to content

feat: drop semantic-release #2

feat: drop semantic-release

feat: drop semantic-release #2

Workflow file for this run

name: Test
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
- develop
types: [opened, edited, closed]
release:
types: [published]
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 'lts/*', 'latest']
steps:
- uses: actions/checkout@v4
- name: Test with Node ${{matrix.node-version}}
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- name: Run
run: |
npm install --package-lock-only
npm install --ignore-scripts
npm run build
npm run lint
npm run test
- name: Upload build artifact
if: matrix.node-version == 'lts/*'
uses: actions/upload-artifact@v4
with:
name: cache
path: |
package.json
package-lock.json
./lib
Release-Drafer:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Draft Release
uses: release-drafter/release-drafter@v6