Skip to content
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