Skip to content

Commit

Permalink
Merge pull request #109 from VKCOM/yarn-v1
Browse files Browse the repository at this point in the history
Миграция на Yarn Classic
  • Loading branch information
8coon committed Apr 25, 2022
2 parents 524609c + 9cda42e commit daa1c87
Show file tree
Hide file tree
Showing 10 changed files with 6,346 additions and 19,948 deletions.
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
.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

0 comments on commit daa1c87

Please sign in to comment.