Skip to content

Commit

Permalink
upgrade CI/CD nodejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardssh committed Oct 12, 2024
1 parent 890b0bc commit 1d7854d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2.4.0

- name: Use Node.js v16
- name: Use Node.js v18.19.1
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3
with:
node-version: 16
node-version: 18.19.1
cache: yarn
registry-url: https://registry.yarnpkg.com/

Expand All @@ -26,7 +26,7 @@ jobs:
yarn --immutable
- name: Build Library
run: yarn build && yarn build:schematics
run: yarn build

- name: Publish
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:ssr": "ng serve demo --configuration development-ssr",
"build": "ng build angular-fontawesome",
"build:watch": "ng build angular-fontawesome -c development --watch",
"build:schematics": "tsc -p projects/schematics/tsconfig.json && ts-node -O '{\"module\":\"commonjs\"}' tasks/build-schematics.ts",
"build:schematics": "tsc -p projects/schematics/tsconfig.json && ts-node tasks/build-schematics.ts",
"format": "prettier --write --ignore-path .gitignore '**/*.{js,ts,json,html}'",
"format:enforce": "prettier --check --ignore-path .gitignore '**/*.{js,ts,json,html}'"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/schematics/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"baseUrl": ".",
"lib": ["es2018", "dom"],
"declaration": true,
"module": "commonjs",
"module": "CommonJS",
"moduleResolution": "node",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
Expand Down

0 comments on commit 1d7854d

Please sign in to comment.