Skip to content

fix(esbuild-meta): fix release config #50

fix(esbuild-meta): fix release config

fix(esbuild-meta): fix release config #50

Workflow file for this run

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 "[email protected]" && 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