Skip to content

TCS-1288 switch to npm #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: 'npm'

- run: yarn install
- run: yarn run lint
- run: yarn run test
- run: npm ci
- run: npm run lint
- run: npm run test
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'yarn'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Yarn Install
run: yarn install --network-concurrency 1
- name: NPM Install
run: npm ci --network-concurrency 1

- name: Publish (NPM)
run: yarn publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -32,6 +32,6 @@ jobs:
registry-url: 'https://npm.pkg.github.com'

- name: Publish (GPR)
run: yarn publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading