Skip to content

fix: fixed release config (#2) #21

fix: fixed release config (#2)

fix: fixed release config (#2) #21

Workflow file for this run

name: Release
on:
push:
branches:
- prod
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.19.0
cache: 'npm'
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Install dependencies
run: npm i --ignore-scripts
- name: Run eslint
run: npm run lint:check
- name: Build
run: |
npm pkg delete scripts.prepare
npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release