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

Миграция на Yarn Classic #109

Merged
merged 8 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock.json @VKCOM/vk-sec
yarn.lock @VKCOM/vk-sec
.npmrc @VKCOM/vk-sec
inomdzhon marked this conversation as resolved.
Show resolved Hide resolved
.nvmrc @VKCOM/vk-sec
.yarnrc @VKCOM/vk-sec
2 changes: 1 addition & 1 deletion .github/workflows/publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: 17
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: yarn
- name: Assigning new version
run: npm version prerelease --commit-hooks=false --git-tag-version=false --preid=dev-${GITHUB_SHA:0:6}
- name: Publishing release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_from_git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: 17
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: yarn
- name: Publishing release
run: npm run publish:dist
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 17
cache: 'npm'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: yarn
- run: npm run publish:latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_PUBLISH_TOKEN}}
Expand All @@ -38,7 +38,7 @@ jobs:
node-version: 17
cache: 'npm'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: yarn
- run: npm run publish:dist
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_PUBLISH_TOKEN}}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '17'
- run: npm ci
- run: yarn
- run: npm run lint
test:
runs-on: ubuntu-latest
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '17'
- run: npm ci
- run: yarn
- run: npm run test:ci
build:
runs-on: ubuntu-latest
Expand All @@ -32,6 +32,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '17'
- run: npm ci
- run: yarn
- run: npm run build

4 changes: 4 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

frozen-lockfile true
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ module.exports = {
},
coverageThreshold: {
global: {
statements: 90.59,
branches: 88.92,
functions: 91.23,
lines: 90.84,
statements: 91.31,
branches: 88.3,
functions: 93.24,
lines: 91.88,
},
},
testMatch: ['**/?(*.)+(spec|test).[t]s?(x)'],
Expand Down
Loading