diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 62d0210..7bae091 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 12 - - run: npm ci + - run: npm install - run: npm test publish-npm: @@ -24,7 +24,7 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} @@ -39,7 +39,7 @@ jobs: node-version: 12 registry-url: https://npm.pkg.github.com/ scope: '@cyjake' - - run: npm ci + - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}