-
Notifications
You must be signed in to change notification settings - Fork 12
Fixed Tailwind Issues #118
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
Changes from all commits
9d18c7b
2aef1f9
037d50d
efcbcec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,14 +12,12 @@ jobs: | |||||||||||||||||||
| - name: Install libvips | ||||||||||||||||||||
| run: sudo apt-get install libvips | ||||||||||||||||||||
| - uses: actions/checkout@v2 | ||||||||||||||||||||
| - name: Setup Node 18 | ||||||||||||||||||||
| - name: Setup Node 20 | ||||||||||||||||||||
| uses: actions/setup-node@v2 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| node-version: '18' | ||||||||||||||||||||
| node-version: '20' | ||||||||||||||||||||
|
Comment on lines
+15
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify deprecated setup-node usage across workflow files
rg -n --iglob '*.yml' 'actions/setup-node@v2|actions/setup-node@v[0-9]+' .github/workflowsRepository: testsigmahq/testsigma-tutorials Length of output: 274 🌐 Web query:
💡 Result: Yes, actions/setup-node v2 is deprecated. The official GitHub documentation and repository recommend updating to the latest version, which is v6.3.0 as of March 2026. Key points from official sources: - Current version: v6.3.0 (released 2026-03-04). Use uses: actions/setup-node@v6. - Older versions like v2 are no longer actively maintained or documented in recent releases. Updates from v2 to v3 involved breaking changes such as runtime upgrade to Node 16 and removal of deprecated inputs. - Breaking changes in recent versions: - v6: Automatic caching for npm if packageManager field present; removed always-auth input. - v5: Default caching enabled; upgraded to Node 24 runtime (requires runner v2.327.1+). - v3: Node 16 runtime; removed 'version' input (use 'node-version'). - Migration: Update your workflow to uses: actions/setup-node@v6 with node-version: '24' or desired version. Pin to major version (e.g., Citations:
🌐 Web query:
💡 Result: The latest version of the actions/setup-node GitHub Action is v6.3.0, released on 2026-03-04. It supports all Node.js versions available in the actions/node-versions repository, including the latest releases as of 2026: Node.js 24.14.1 (March 2026), 22.22.2 (March 2026), 20.20.2 (March 2026), and earlier patch versions. Examples from documentation include major versions 20, 22, 24; specific versions like 20.19, 22.17.1, 24.8.0; LTS aliases like lts/iron, lts/jod, lts/; and latest/. In 2024-2025, it supported Node.js 20+ (upgraded from Node 16/18 deprecations), with v5.0.0 (2025-09) introducing Node 24 support for the action itself, and ongoing updates through v6.x. The action downloads LTS versions from actions/node-versions releases and caches them. Use node-version: '24', 'lts/*', or 'latest' (resolves to newest dist version). Citations:
Upgrade
🔧 Proposed fix- - name: Setup Node 20
- uses: actions/setup-node@v2
+ - name: Setup Node 20
+ uses: actions/setup-node@v6
with:
node-version: '20'📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.12)[error] 16-16: the runner of "actions/setup-node@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 🤖 Prompt for AI Agents |
||||||||||||||||||||
| - name: Install dependencies | ||||||||||||||||||||
| run: | | ||||||||||||||||||||
| rm -rf .cache node_modules | ||||||||||||||||||||
| npm i --force --unsafe-perm | ||||||||||||||||||||
| run: npm ci --legacy-peer-deps --unsafe-perm | ||||||||||||||||||||
| - name: Force installing sharp | ||||||||||||||||||||
| run: npm install --ignore-scripts=false --verbose sharp@0.30.7 --force --unsafe-perm | ||||||||||||||||||||
| - name: 'Create env file' | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,3 @@ public | |
| .idea/* | ||
| *.iml | ||
| .DS_Store | ||
| package-lock.json | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -16,10 +16,15 @@ module.exports = { | |||||
| "gatsby-plugin-postcss", | ||||||
| "gatsby-plugin-sass", | ||||||
| "gatsby-plugin-image", | ||||||
| "gatsby-transformer-remark", | ||||||
| "gatsby-plugin-sharp", | ||||||
| "gatsby-transformer-sharp", | ||||||
| 'gatsby-plugin-react-helmet', | ||||||
| { | ||||||
| resolve: 'gatsby-plugin-env-variables', | ||||||
| options: { | ||||||
| allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_API_KEY', "TYPESENSE_SEARCH_API_KEY", "TYPESENSE_COLLECTION"], | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify whether TYPESENSE_API_KEY is actually consumed anywhere besides gatsby-config.js.
# Expected: client code should only reference TYPESENSE_SEARCH_API_KEY.
rg -n -C2 'TYPESENSE_API_KEY|TYPESENSE_SEARCH_API_KEY|TYPESENSE_COLLECTION|TYPESENSE_HOST|TYPESENSE_PORT|TYPESENSE_PROTOCOL'Repository: testsigmahq/testsigma-tutorials Length of output: 3835 Remove The client-side code in Suggested change- allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_API_KEY', "TYPESENSE_SEARCH_API_KEY", "TYPESENSE_COLLECTION"],
+ allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_SEARCH_API_KEY', 'TYPESENSE_COLLECTION'],📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| }, | ||||||
| }, | ||||||
| { | ||||||
| resolve: `gatsby-plugin-s3`, | ||||||
| options: { | ||||||
|
|
@@ -104,12 +109,6 @@ module.exports = { | |||||
| }, | ||||||
| }, | ||||||
| }, | ||||||
| { | ||||||
| resolve: 'gatsby-plugin-env-variables', | ||||||
| options: { | ||||||
| allowList: ['TYPESENSE_HOST', 'TYPESENSE_PORT', 'TYPESENSE_PROTOCOL', 'TYPESENSE_API_KEY', "TYPESENSE_SEARCH_API_KEY", "TYPESENSE_COLLECTION"], | ||||||
| }, | ||||||
| } | ||||||
| ], | ||||||
| }, | ||||||
| } | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
actions/setup-node v2 deprecated 2025 2026 current version support💡 Result:
actions/setup-node v2 is deprecated. Users should upgrade to the current version v6 (latest release v6.3.0 on 2026-03-04). Older versions like v2 run on outdated Node.js runtimes (pre-Node 16), which are incompatible with GitHub's runner changes: Node 20 deprecated (EOL April 2026, runners switch to Node 24 default on June 2, 2026, Node 20 removed fall 2026). v5+ support Node 24 (upgraded Sep 2025). v2 has no specific deprecation date but will fail post-June 2026 due to runtime incompatibility. All versions fully supported today (2026-04-14), but upgrade recommended for future compatibility. Use: uses: actions/setup-node@v6 with node-version: '24'.
Citations:
Upgrade
actions/setup-nodeto v6 and Node to 24.actions/setup-node@v2is deprecated and will fail after June 2, 2026 when runners switch to Node 24. Node 20 reaches EOL in April 2026 (today) and will be removed from runners in fall 2026. Upgrade to the current version v6 with Node 24 for future compatibility.🔧 Proposed fix
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.12)
[error] 15-15: the runner of "actions/setup-node@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents