Skip to content

Commit

Permalink
Revert "update ci and yarn"
Browse files Browse the repository at this point in the history
This reverts commit 69e54ad.
  • Loading branch information
pradel committed Jun 19, 2023
1 parent 69e54ad commit e252067
Show file tree
Hide file tree
Showing 9 changed files with 958 additions and 1,004 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -14,14 +14,25 @@ jobs:
- name: Begin CI...
uses: actions/checkout@v2

- name: Use Node 18
uses: actions/setup-node@v3
- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: '18'
cache: 'yarn'
node-version: 12.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --immutable
run: yarn install --immutable

- name: Lint
run: yarn workspace react-responsive-modal lint
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release-please.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3.7
- uses: GoogleCloudPlatform/release-please-action@v3.2
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -22,15 +22,14 @@ jobs:
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

- name: Use Node 18
uses: actions/setup-node@v3
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: '18'
cache: 'yarn'
node-version: 16.x
if: ${{ steps.release.outputs.release_created }}

- name: Install dependencies
run: yarn install --frozen-lockfile --immutable
run: yarn install --immutable
if: ${{ steps.release.outputs.release_created }}

- name: Build react-responsive-modal
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/size.yml
Expand Up @@ -10,11 +10,22 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use Node 18
uses: actions/setup-node@v3
- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: '18'
cache: 'yarn'
node-version: 12.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: andresz1/size-limit-action@v1
with:
Expand Down
222 changes: 111 additions & 111 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

807 changes: 807 additions & 0 deletions .yarn/releases/yarn-3.3.0.cjs

Large diffs are not rendered by default.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.0.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Expand Up @@ -8,4 +8,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'

yarnPath: .yarn/releases/yarn-3.6.0.cjs
yarnPath: .yarn/releases/yarn-3.3.0.cjs
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,5 +24,5 @@
"prettier": "2.1.2"
},
"version": "6.4.1",
"packageManager": "yarn@3.6.0"
"packageManager": "yarn@3.3.0"
}

0 comments on commit e252067

Please sign in to comment.