diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ae14043..491773e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,20 +1,20 @@ -name: Publish - -on: - push: - branches: release - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - registry-url: https://registry.npmjs.org/ - scope: netatwork - - run: npm ci - - run: npm publish --access=public --@netatwork:registry=https://registry.npmjs.org/ - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} +name: Publish + +on: + push: + branches: release + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + scope: netatwork + - run: npm ci + - run: npm publish --access=public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}