Skip to content
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

ci: Compile latest GitHub actions in PR workflow #324

Merged
merged 10 commits into from
Oct 10, 2024
Merged
12 changes: 12 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install

- name: Compile latest "set-shas" action
run: yarn nx compile actions-set-shas

- name: Compile latest "plan" action
run: yarn nx compile actions-plan

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: ./actions/set-shas
with:
Expand Down Expand Up @@ -79,6 +85,12 @@ jobs:
**/node_modules
key: cache-node-modules-${{ hashFiles('yarn.lock') }}

- name: Compile latest "set-shas" action
run: yarn nx compile actions-set-shas

- name: Compile latest "run-many" action
run: yarn nx compile actions-run-many

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: ./actions/set-shas
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Compile latest actions
run: yarn nx run-many --target compile --all

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: ./actions/set-shas
with:
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"workspace-generator": "nx workspace-generator"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/core": "^1.11.1",
"@nx/devkit": "19.8.0",
"@nx/workspace": "19.8.0",
"@types/tar": "^6.1.13",
Expand All @@ -47,7 +47,7 @@
},
"devDependencies": {
"@google-cloud/storage": "^7.13.0",
"@jamesives/github-pages-deploy-action": "^4.6.4",
"@jamesives/github-pages-deploy-action": "^4.6.8",
"@jscutlery/semver": "^5.3.1",
"@nx/eslint-plugin": "19.8.0",
"@nx/jest": "19.8.0",
Expand All @@ -56,22 +56,22 @@
"@nx/plugin": "19.8.0",
"@nx/react": "19.8.0",
"@nx/webpack": "19.8.0",
"@pulumi/gcp": "^8.2.0",
"@pulumi/pulumi": "^3.133.0",
"@pulumi/gcp": "^8.5.0",
"@pulumi/pulumi": "^3.136.1",
"@swc-node/register": "1.10.9",
"@swc/core": "1.7.26",
"@swc/core": "1.7.35",
"@types/jest": "29.5.13",
"@types/node": "22.5.5",
"@types/node": "22.7.5",
"@types/shelljs": "^0.8.15",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "8.6.0",
"@typescript-eslint/parser": "8.6.0",
"@vercel/ncc": "^0.38.1",
"@typescript-eslint/eslint-plugin": "8.8.1",
"@typescript-eslint/parser": "8.8.1",
"@vercel/ncc": "0.34.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"express": "^4.21.0",
"express": "^4.21.1",
"husky": "^9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand All @@ -80,7 +80,7 @@
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tslint": "~6.1.3",
"typescript": "5.6.2"
"typescript": "5.6.3"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@docusaurus/types": "3.5.2",
"typescript": "~5.6.2"
"typescript": "~5.6.3"
},
"peerDependencies": {
"@docusaurus/core": "^3.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@pulumi/pulumi": "^3.129.0"
},
"optionalDependencies": {
"@pulumi/gcp": "^8.2.0"
"@pulumi/gcp": "^8.5.0"
},
"builders": "./executors.json",
"generators": "./generators.json"
Expand Down
3 changes: 2 additions & 1 deletion packages/react-email/src/executors/export/export.impl.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ExecutorContext } from '@nx/devkit'
import { buildCommand, execPackageManagerCommand } from '@nx-extend/core'

import type { ExecutorContext } from '@nx/devkit'

import 'dotenv/config'

export interface ServeExecutorOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"extends": [
"plugin:@nx/react",
"<%= offsetFromRoot %>.eslintrc.json"
],
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx",
"*.js",
"*.jsx"
],
"rules": {}
},
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {}
},
{
"files": [
"*.js",
"*.jsx"
],
"rules": {}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "<%= offsetFromRoot %>tsconfig.base.json",
"compilerOptions": {
"jsx": "react-jsx",
"allowJs": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true
},
"files": [],
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
}
4 changes: 2 additions & 2 deletions packages/shadcn-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"devDependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.445.0",
"tailwind-merge": "^2.5.2",
"lucide-react": "^0.451.0",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"main": "src/index.js",
"dependencies": {
"@formatjs/cli": "^6.2.12"
"@formatjs/cli": "^6.2.14"
},
"peerDependencies": {
"@nx/devkit": "^19.6.0"
Expand Down
Loading
Loading