Skip to content

REL - 2023.10.1 (#316) #12

REL - 2023.10.1 (#316)

REL - 2023.10.1 (#316) #12

Workflow file for this run

name: Release conda-store-ui
on:
# we want to make a release whenever a new tag is created
push:
tags:
- "*"
jobs:
call-build:
uses: conda-incubator/conda-store-ui/.github/workflows/build.yml@main
make-release:
runs-on: ubuntu-latest
# ensure that the artifacts are available from the build job
needs: call-build
steps:
- name: "Checkout repository 🛎"
uses: actions/checkout@v4
- name: "Install dependencies 📦"
run: yarn
- name: "Lint code 🔎"
run: yarn eslint:check
- name: "Download webpack bundle 📦"
uses: actions/download-artifact@v3
with:
name: webpack-bundle
path: dist/
- name: "Generate package tarball 📦"
run: yarn pack --filename conda-store-ui.tgz
- name: "Publish to npm 📤"
run: |
echo "Publishing with tag ${{ env.GITHUB_REF_NAME }}"
yarn publish --access public --verbose
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}