Skip to content

Commit

Permalink
feat: node to vesrion 18
Browse files Browse the repository at this point in the history
  • Loading branch information
yossydev committed Dec 13, 2023
1 parent e886c36 commit 6d0ca01
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-icon-from-figma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-icon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy-highlightjs-styles-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: yarn build:example
- name: deploy to preview channel
Expand All @@ -24,5 +24,4 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 30d
entryPoint: ./packages/spindle-syntax-themes/
firebaseToolsVersion: v12.9.1
entryPoint: ./packages/spindle-syntax-themes/
5 changes: 2 additions & 3 deletions .github/workflows/deploy-highlightjs-styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: yarn build:example
- name: deploy to live channel
Expand All @@ -26,5 +26,4 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
entryPoint: ./packages/spindle-syntax-themes/
channelId: live
firebaseToolsVersion: v12.9.1
channelId: live
5 changes: 2 additions & 3 deletions .github/workflows/deploy-hooks-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand All @@ -32,5 +32,4 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
entryPoint: ./packages/spindle-hooks/
channelId: live
firebaseToolsVersion: v12.9.1
channelId: live
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hoooks-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: yarn storybook:build
- name: deploy to preview channel
Expand All @@ -25,4 +25,4 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
expires: 30d
entryPoint: ./packages/spindle-hooks/
firebaseToolsVersion: v12.9.1

5 changes: 2 additions & 3 deletions .github/workflows/deploy-theme-switch-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn cp
Expand All @@ -25,5 +25,4 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 30d
entryPoint: ./packages/spindle-theme-switch/
firebaseToolsVersion: v12.9.1
entryPoint: ./packages/spindle-theme-switch/
5 changes: 2 additions & 3 deletions .github/workflows/deploy-theme-switch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: yarn build
- name: deploy to live channel
Expand All @@ -26,5 +26,4 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
entryPoint: ./packages/spindle-theme-switch/
channelId: live
firebaseToolsVersion: v12.9.1
channelId: live
3 changes: 1 addition & 2 deletions .github/workflows/deploy-ui-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand All @@ -35,4 +35,3 @@ jobs:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
entryPoint: ./packages/spindle-ui/
channelId: live
firebaseToolsVersion: v12.9.1
3 changes: 1 addition & 2 deletions .github/workflows/deploy-ui-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ref: 'refs/pull/${{ github.event.number }}/merge'
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- run: yarn install --frozen-lockfile
- run: |
yarn lerna run --scope @openameba/spindle-hooks build
Expand All @@ -47,4 +47,3 @@ jobs:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 30d
entryPoint: ./packages/spindle-ui/
firebaseToolsVersion: v12.9.1
2 changes: 1 addition & 1 deletion .github/workflows/lint-commit-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- uses: actions/cache@v3
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
registry-url: 'https://registry.npmjs.org'
- name: restore lerna
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/visual-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: 'package.json'
- name: restore lerna
uses: actions/cache@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
"**/babel-*/**",
"**/@babel/**"
]
},
"engines": {
"node": "18.19.0"
}
}
2 changes: 1 addition & 1 deletion packages/spindle-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": "18.19.0"
},
"scripts": {
"test": "run-p bundlesize test:interaction",
Expand Down
2 changes: 1 addition & 1 deletion packages/spindle-ui/bundlesize.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"path": "./dist/SnackBar/*.mjs",
"maxSize": "1.4 kB"
"maxSize": "1.5 kB"
},
{
"path": "./dist/Toast/*.mjs",
Expand Down
9 changes: 4 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24213,7 +24213,6 @@ textlint-rule-prefer-tari-tari@^1.0.3:

textlint-rule-preset-ameba@openameba/textlint-rule-preset-ameba#v0.5.1:
version "0.5.1"
uid e22b25089b6ab737ca03cedb8a089f2377d3386e
resolved "https://codeload.github.com/openameba/textlint-rule-preset-ameba/tar.gz/e22b25089b6ab737ca03cedb8a089f2377d3386e"
dependencies:
"@textlint-ja/textlint-rule-no-dropping-i" "^1.0.0"
Expand Down Expand Up @@ -24557,10 +24556,10 @@ [email protected]:
semver "^7.5.3"
yargs-parser "^21.0.1"

[email protected].1:
version "10.9.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
[email protected].2:
version "10.9.2"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
dependencies:
"@cspotcode/source-map-support" "^0.8.0"
"@tsconfig/node10" "^1.0.7"
Expand Down

0 comments on commit 6d0ca01

Please sign in to comment.