feat(portal): viewer improvements (#102) #58
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
registry-url: https://registry.npmjs.org | |
- name: Setup git user | |
shell: bash | |
run: git config user.email "chris@deep-blue.io" && git config user.name "Christopher Holder" | |
- name: Cache NPM dependencies | |
uses: actions/cache@v4 | |
id: cache-primes | |
with: | |
path: | | |
node_modules | |
~/.cache | |
dist | |
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
- name: Clean Install Dependencies | |
if: steps.cache-primes.outputs.cache-hit != 'true' | |
run: npm ci | |
# - name: Lint | |
# run: npx nx run-many -t lint | |
# - name: Test | |
# run: npx nx run-many -t test --configuration=ci | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx nx release --yes |