From d9e27ac65f0d71ae9a2b6f368919b567a77d4a63 Mon Sep 17 00:00:00 2001 From: "Daniel Miller (Earthmark)" Date: Sun, 17 Oct 2021 20:04:05 -0700 Subject: [PATCH] Swapped workflows to npm as well --- .github/workflows/npm-publish.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f736bc6..e598887 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,9 +16,8 @@ jobs: with: node-version: 14 - run: cd react-neos - - run: yarn install --frozen-lockfile - - run: yarn test --ci --coverage - working-directory: ./react-neos + - run: npm ci + - run: npm test --ci --coverage publish-npm: needs: build @@ -29,10 +28,8 @@ jobs: with: node-version: 14 registry-url: https://registry.npmjs.org/ - - run: yarn install --frozen-lockfile - working-directory: ./react-neos - - run: yarn publish - working-directory: ./react-neos + - run: npm ci + - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} @@ -48,9 +45,7 @@ jobs: with: node-version: 14 registry-url: https://npm.pkg.github.com/ - - run: yarn install --frozen-lockfile - working-directory: ./react-neos - - run: yarn publish - working-directory: ./react-neos + - run: npm ci + - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}