Commit 8518ad36 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Fix "Publish Chakra theme" workflow (#2399)

fix npm publisher workflow
parent 0b964923
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.17.0'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: Update package version - name: Update package version
...@@ -39,6 +39,7 @@ jobs: ...@@ -39,6 +39,7 @@ jobs:
- name: Build the package - name: Build the package
run: | run: |
yarn
cd ./theme cd ./theme
yarn yarn
yarn build yarn build
......
This diff is collapsed.
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
"version": "1.32.0", "version": "1.32.0",
"main": "./dist/index.js", "main": "./dist/index.js",
"license": "MIT", "license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blockscout/frontend.git",
"directory": "theme"
},
"scripts": { "scripts": {
"build": "yarn webpack-cli -c ./webpack.config.js" "build": "yarn webpack-cli -c ./webpack.config.js"
}, },
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"../types/**/*.ts", "../types/**/*.ts",
"../configs/app/**/*.ts", "../configs/app/**/*.ts",
"../global.d.ts", "../global.d.ts",
"**/*.ts", "./theme.ts",
"**/*.pw.tsx" "./components/**/*.pw.tsx",
], ],
"tsc-alias": { "tsc-alias": {
"verbose": true, "verbose": true,
......
...@@ -537,7 +537,7 @@ merge-stream@^2.0.0: ...@@ -537,7 +537,7 @@ merge-stream@^2.0.0:
micromatch@^4.0.0: micromatch@^4.0.0:
version "4.0.8" version "4.0.8"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz"
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
dependencies: dependencies:
braces "^3.0.3" braces "^3.0.3"
...@@ -812,7 +812,7 @@ tsconfig-paths@^4.1.2: ...@@ -812,7 +812,7 @@ tsconfig-paths@^4.1.2:
typescript@5.4.2: typescript@5.4.2:
version "5.4.2" version "5.4.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372" resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz"
integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ== integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==
undici-types@~5.26.4: undici-types@~5.26.4:
...@@ -878,7 +878,7 @@ webpack-sources@^3.2.3: ...@@ -878,7 +878,7 @@ webpack-sources@^3.2.3:
webpack@^5.94.0: webpack@^5.94.0:
version "5.94.0" version "5.94.0"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.94.0.tgz#77a6089c716e7ab90c1c67574a28da518a20970f" resolved "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz"
integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg== integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==
dependencies: dependencies:
"@types/estree" "^1.0.5" "@types/estree" "^1.0.5"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment