Skip to content

feat(config): new packages #43

feat(config): new packages

feat(config): new packages #43

Workflow file for this run

name: Release
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Release:
name: πŸš€ Release πŸš€
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [20]
os: ["ubuntu-latest"]
steps:
- name: πŸ›’ Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: βš™οΈ Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: πŸ“₯ Install deps
run: npm install
- name: πŸ— Build
run: npm run build --if-present
- name: πŸ“ Format
run: npm run format --if-present
- name: 🚨 test
run: npm run test --if-present
- name: πŸš€ Release
run: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_EMAIL }}