Skip to content

Commit

Permalink
Swapped workflows to npm as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthmark committed Oct 18, 2021
1 parent 3b77294 commit d9e27ac
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

Expand All @@ -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}}

0 comments on commit d9e27ac

Please sign in to comment.