Skip to content

πŸ› οΈ [Eslint] Flat config (#56) #35

πŸ› οΈ [Eslint] Flat config (#56)

πŸ› οΈ [Eslint] Flat config (#56) #35

Workflow file for this run

name: πŸš€ Release
on:
push:
branches:
- main
jobs:
release:
name: Version and release package
runs-on: ubuntu-latest
steps:
- name: πŸ—³οΈ Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ”§ Setup Node 20.x
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: πŸ“¦ Install dependencies
run: npm ci
- name: πŸ—οΈ Build project
run: npm run build
- name: πŸ“£ Create PR or publish to NPM
id: changesets
uses: changesets/action@v1
with:
title: 'πŸ¦‹ [Release] Version packages'
commit: 'πŸ¦‹ [Changesets] Prepare for next release'
version: npm run release:version
publish: npm run release:publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}