mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-26 17:06:23 +02:00
fix rowboatx publish action
This commit is contained in:
parent
5c4ec8eafb
commit
720deca78d
1 changed files with 8 additions and 6 deletions
14
.github/workflows/x-publish.yml
vendored
14
.github/workflows/x-publish.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
id-token: write # Required for OIDC
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -21,21 +25,19 @@ jobs:
|
|||
|
||||
- name: Install deps
|
||||
run: npm ci
|
||||
working-directory: apps/rowboat
|
||||
working-directory: apps/cli
|
||||
|
||||
# optional: run tests
|
||||
# - run: npm test
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
working-directory: apps/rowboat
|
||||
working-directory: apps/cli
|
||||
|
||||
- name: Pack
|
||||
run: npm pack
|
||||
working-directory: apps/rowboat
|
||||
working-directory: apps/cli
|
||||
|
||||
- name: Publish to npm
|
||||
run: npm publish --access public
|
||||
working-directory: apps/rowboat
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
working-directory: apps/cli
|
||||
Loading…
Add table
Add a link
Reference in a new issue