mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
NPM command fixes
This commit is contained in:
@@ -56,8 +56,8 @@ jobs:
|
|||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run bundle:js-api
|
npx nx run js-api:bundle
|
||||||
npm run bundle:cli
|
npx nx run cli:bundle
|
||||||
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
||||||
|
|
||||||
release-npm:
|
release-npm:
|
||||||
@@ -98,15 +98,15 @@ jobs:
|
|||||||
setMigrations();
|
setMigrations();
|
||||||
- name: build libraries
|
- name: build libraries
|
||||||
run: |
|
run: |
|
||||||
npm run build:libs
|
npx nx run-many -t build --prod --skip-nx-cache
|
||||||
npm run build:schematics
|
npx nx run-many -t build-schematics
|
||||||
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
name: release libraries GH registry
|
name: release libraries GH registry
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
scope: '@alfresco'
|
scope: '@alfresco'
|
||||||
- run: npm run publish -- --tag=${{ steps.setup.outputs.npm-tag }}
|
- run: npx nx run-many -t npm-publish --tag=${{ steps.setup.outputs.npm-tag }} || exit 1
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
@@ -115,7 +115,7 @@ jobs:
|
|||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}'
|
registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}'
|
||||||
scope: '@alfresco'
|
scope: '@alfresco'
|
||||||
- run: npm run publish -- --tag=${{ steps.setup.outputs.npm-tag }}
|
- run: npx nx run-many -t npm-publish --tag=${{ steps.setup.outputs.npm-tag }} || exit 1
|
||||||
|
|
||||||
create-git-tag:
|
create-git-tag:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user