Skip to content

fix(config): update assets #52

fix(config): update assets

fix(config): update assets #52

Workflow file for this run

name: Production
on:
push:
branches:
- main
- beta
- next
- next-major
- "*.x" # maintenance releases branches
jobs:
Publish:
name: πŸš€ Publish πŸš€
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [18]
os: [ubuntu-latest]
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: βŽ” Setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: πŸ“₯ Install deps
run: npm ci
- name: πŸ— Build
run: npm run build --if-present
- name: 🚨 Format
run: npm run format
- name: πŸš€ Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
semantic_version: 18
branches: |
[
'main',
'next',
'next-major',
{name: 'beta', prerelease: true},
{name: 'alpha', prerelease: true}
]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}