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 3 #1143

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

yarn 3 #1143

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
28 changes: 14 additions & 14 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn run lint
tests:
runs-on: ubuntu-latest
strategy:
Expand All @@ -37,10 +37,10 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run ${{ matrix.test-script }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn run build
- run: yarn run ${{ matrix.test-script }}
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
Expand All @@ -59,10 +59,10 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build --if-present
- run: yarn install --frozen-lockfile
- run: yarn run build
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "GitHub Actions"
- run: git remote set-url origin https://[email protected]/wix/pro-gallery
Expand All @@ -77,7 +77,7 @@ jobs:
run: |
git checkout master
lerna publish patch --exact --yes --registry https://registry.npmjs.org
npm run changelog
yarn run changelog
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push to pull request
Expand All @@ -99,10 +99,10 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build --if-present
- run: yarn install --frozen-lockfile
- run: yarn run build --if-present
- run: node scripts/deployToSurge
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ typings/
# Yarn Integrity file
.yarn-integrity

# Lock files
yarn.lock

# Server output
maven
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

786 changes: 786 additions & 0 deletions .yarn/releases/yarn-3.2.1.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
compressionLevel: 0

enableGlobalCache: true

enableTelemetry: false

logFilters:
- code: YN0002
level: discard
- code: YN0007
level: discard
- code: YN0013
level: discard
- code: YN0032
level: discard
- code: YN0060
level: discard
- code: YN0061
level: discard

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"


yarnPath: .yarn/releases/yarn-3.2.1.cjs
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packages": ["packages/*"],
"version": "5.0.58"
"version": "5.0.58",
"npmClient": "yarn"
}
Loading