Skip to content

Update dependency lucuma-ui-css to v0.116.0 #351

Update dependency lucuma-ui-css to v0.116.0

Update dependency lucuma-ui-css to v0.116.0 #351

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Navigate UI - CI
on:
push:
branches: ['main']
tags: ['v*']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm lint
- run: pnpm test
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: dist-artifact
path: |
dist
!dist/**/*.md
publish:
name: Publish Artifacts
needs: [build]
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Import signing key
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 -d -i - | gpg --import
# Run sbt publish first before making the local repo dirty with pnpm publish
- name: Publish artifacts
run: |
sbt '+publish; sonatypeBundleRelease'
pnpm version from-git --git-tag-version=false
pnpm publish --access public --no-git-checks --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_REPO_TOKEN }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}