Skip to content

Commit

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

- name: Use Node 12
uses: actions/setup-node@v1
- name: Use Node 18
uses: actions/setup-node@v3
with:
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-
node-version: '18'
cache: 'yarn'

- name: Install dependencies
run: yarn install --immutable
run: yarn install --frozen-lockfile --immutable

- name: Lint
run: yarn workspace react-responsive-modal lint
Expand Down
11 changes: 6 additions & 5 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.2
- uses: GoogleCloudPlatform/release-please-action@v3.7
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -22,14 +22,15 @@ jobs:
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

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

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

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

- name: Use Node 12
uses: actions/setup-node@v1
- name: Use Node 18
uses: actions/setup-node@v3
with:
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-
node-version: '18'
cache: '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: 0 additions & 807 deletions .yarn/releases/yarn-3.3.0.cjs

This file was deleted.

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

Large diffs are not rendered by default.

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.3.0.cjs
yarnPath: .yarn/releases/yarn-3.6.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.3.0"
"packageManager": "yarn@3.6.0"
}

0 comments on commit 69e54ad

Please sign in to comment.