diff --git a/.github/actions/cfdi/action.yml b/.github/actions/cfdi/action.yml index 25da0b67..a4b42e2e 100644 --- a/.github/actions/cfdi/action.yml +++ b/.github/actions/cfdi/action.yml @@ -31,20 +31,18 @@ runs: - name: Rush CLI shell: bash - run: | + run: | npm install -g @microsoft/rush@5.169.2 rush update - - name: Rush Update + - name: GitHub User shell: bash run: | git config user.name MisaelMa git config user.email amisael.amir.misael@gmail.com - + ls -la - #- name: execa - # shell: bash - # run: npm install execa + - name: Script uses: actions/github-script@v7 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b290101..89c81458 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,8 @@ jobs: - name: Setup Node.js for Trusted Publishing uses: actions/setup-node@v4 with: - node-version: '23' + node-version: '24' + registry-url: 'https://registry.npmjs.org' - name: Determine branch id: branch @@ -50,11 +51,11 @@ jobs: - name: Publish (main) if: steps.branch.outputs.is_main == 'true' - run: node common/scripts/npm-publish.js + run: rush publish -p -b main --include-all --set-access-level=public - name: Publish (prerelease) if: steps.branch.outputs.is_main == 'false' - run: node common/scripts/npm-publish.js --tag ${{ steps.branch.outputs.name }} + run: rush publish --publish --tag ${{ steps.branch.outputs.name }} --include-all --set-access-level=public --apply - name: Commit version bumps run: |