Skip to content

Chore(ci): Clear cache after testing #1436

Chore(ci): Clear cache after testing

Chore(ci): Clear cache after testing #1436

Workflow file for this run

name: 🚀 Publish
on:
push:
branches:
- main
tags:
- '**'
jobs:
publish:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: 📦 Publish Package
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Node and Install Dependencies
uses: ./.github/actions/setup-install
- name: Build
run: yarn build
- name: Authenticate npm
run: ./bin/ci/npm-auth.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: make publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}