* chore: add initial readme and license info * minor fix: remove colon from note * some jsdocs * update build action * fix nx command on gh action * specify remote origin as base in build * update release info * semantic release config * rename auth headers * chore: update package-lock.json
30 lines
645 B
YAML
30 lines
645 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '18.x'
|
|
registry-url: 'https://registry.npmjs.org'
|
|
scope: '@fal'
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Publish to NPM
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
run: npx nx release client
|