♻️ run scripts with npm run vs yarn
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -14,9 +14,9 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
- run: yarn type
|
- run: npm run type
|
||||||
- run: yarn lint
|
- run: npm run lint
|
||||||
- run: yarn test --ci
|
- run: npm run test --ci
|
||||||
|
|
||||||
test-action:
|
test-action:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
|
|
||||||
- name: build svg-only action
|
- name: build svg-only action
|
||||||
run: |
|
run: |
|
||||||
yarn build:action
|
npm run build:action
|
||||||
rm -r svg-only/dist
|
rm -r svg-only/dist
|
||||||
mv packages/action/dist svg-only/dist
|
mv packages/action/dist svg-only/dist
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
- run: yarn build:demo
|
- run: npm run build:demo
|
||||||
env:
|
env:
|
||||||
GITHUB_USER_CONTRIBUTION_API_ENDPOINT: https://snk-one.vercel.app/api/github-user-contribution/
|
GITHUB_USER_CONTRIBUTION_API_ENDPOINT: https://snk-one.vercel.app/api/github-user-contribution/
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: build svg-only action
|
- name: build svg-only action
|
||||||
run: |
|
run: |
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn build:action
|
npm run build:action
|
||||||
rm -r svg-only/dist
|
rm -r svg-only/dist
|
||||||
mv packages/action/dist svg-only/dist
|
mv packages/action/dist svg-only/dist
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user