Skip to content

Commit 871a691

Browse files
committed
migrating to npm for simplicity of publishing
1 parent 273e408 commit 871a691

File tree

5 files changed

+3006
-2415
lines changed

5 files changed

+3006
-2415
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232

33-
- name: Install yarn
34-
run: npm i -g yarn
3533
- name: Install dependencies
36-
run: yarn install
34+
run: npm ci
35+
- run: npm install
3736
- name: Run the tests
38-
run: yarn test && yarn report
37+
run: npm test && npm run report
3938
- name: Upload coverage to Codecov
4039
uses: codecov/codecov-action@v1
4140
with:

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- run: npm ci
3131
- run: npm publish
3232
env:
33-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
33+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3434

3535
publish-gpr:
3636
needs: build

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ tests/cases/user/*/**/*.d.ts
8686
tests/baselines/reference/dt
8787
.failed-tests
8888
TEST-results.xml
89-
package-lock.json
9089
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
9190
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
9291
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter

0 commit comments

Comments
 (0)