Skip to content

Commit e25ffc9

Browse files
committed
chore: go back npm
1 parent 8c1e809 commit e25ffc9

10 files changed

+22863
-12942
lines changed

.github/workflows/publish.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,26 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414

15-
- name: Enable Corepack
16-
run: corepack enable
17-
1815
- name: Setup node
1916
uses: actions/setup-node@v3
2017
with:
2118
node-version: 18
22-
cache: 'yarn'
23-
cache-dependency-path: '**/yarn.lock'
19+
cache: 'npm'
2420
registry-url: 'https://registry.npmjs.org'
2521

26-
- name: Yarn Install
27-
run: yarn install --immutable
22+
- name: NPM Install
23+
run: npm ci
2824

2925
- name: Publish (NPM)
30-
run: yarn npm publish --access public
26+
run: npm publish --access public
3127
env:
3228
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3329

3430
- uses: actions/setup-node@v3
3531
with:
3632
registry-url: 'https://npm.pkg.github.com'
37-
cache: 'yarn'
38-
cache-dependency-path: '**/yarn.lock'
3933

4034
- name: Publish (GPR)
41-
run: yarn npm publish
35+
run: npm publish
4236
env:
4337
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/workflow.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,22 @@ jobs:
77
name: Lint and Tests
88
steps:
99
- uses: actions/checkout@v4
10-
11-
- name: Enable Corepack
12-
run: corepack enable
13-
1410
- uses: actions/setup-node@v3
1511
with:
1612
node-version: 18
17-
cache: 'yarn'
18-
cache-dependency-path: '**/yarn.lock'
13+
cache: 'npm'
1914

20-
- name: Yarn Install
21-
run: yarn install --immutable
15+
- name: NPM Install
16+
run: npm ci
2217

2318
- name: Linting
24-
run: yarn lint
19+
run: npm run lint
2520

2621
- name: Typing
27-
run: yarn typecheck
22+
run: npm run typescript
2823

2924
- name: Testing
30-
run: yarn test --coverage
25+
run: npm run test --coverage
3126

3227
- name: Prepare Build
33-
run: yarn prepare
28+
run: npm run build

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

-541
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

-28
This file was deleted.

.yarn/releases/yarn-3.6.1.cjs

-874
This file was deleted.

.yarnrc.yml

-10
This file was deleted.

0 commit comments

Comments
 (0)