2023-07-05 22:49:45 +00:00
|
|
|
name: release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-07-24 22:21:32 +00:00
|
|
|
- name: Checkout
|
2024-05-17 14:23:30 +00:00
|
|
|
uses: actions/checkout@v4.1.6
|
2023-07-24 22:21:32 +00:00
|
|
|
|
2023-07-05 22:49:45 +00:00
|
|
|
- name: Setup Node.js
|
2024-02-07 15:03:35 +00:00
|
|
|
uses: actions/setup-node@v4.0.2
|
2023-07-05 22:49:45 +00:00
|
|
|
with:
|
2024-04-26 19:57:51 +00:00
|
|
|
node-version: '22.x'
|
2023-07-23 18:38:58 +00:00
|
|
|
cache: 'npm'
|
2023-07-17 00:03:06 +00:00
|
|
|
env:
|
|
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2023-07-05 22:49:45 +00:00
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Semantic release
|
|
|
|
id: release
|
2023-09-13 14:53:41 +00:00
|
|
|
uses: ahmadnassri/action-semantic-release@v2.2.8
|
2023-07-05 22:49:45 +00:00
|
|
|
env:
|
2023-07-16 23:54:32 +00:00
|
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2023-07-17 00:09:55 +00:00
|
|
|
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2023-07-05 22:49:45 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|