REL - 2023.10.1 (#316) #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |