From 51189f215575ba82f3af598d29c18f7135af7fce Mon Sep 17 00:00:00 2001 From: Jamie Peabody Date: Sun, 21 Nov 2021 12:52:50 +0000 Subject: [PATCH] ci: use token --- .github/workflows/npm-publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index b31df77..0054780 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -16,7 +16,7 @@ jobs: - name: Setup node uses: actions/setup-node@v1 with: - node-version: 10 + node-version: 14 registry-url: https://registry.npmjs.org - name: Git checkout @@ -34,10 +34,10 @@ jobs: run: npm run build:dist - name: Release - run: npm run release - uses: oleksiyrudenko/gha-git-credentials@v2-latest + uses: fusion-engineering/setup-git-credentials@v2 with: - token: '${{ secrets.CI_TOKEN }}' + credentials: '${{ secrets.CI_TOKEN }}' + - run: npm run release - name: Publish run: npm publish --access public --tag ${{ github.event.inputs.tag }}