Skip to content

Commit

Permalink
CI action to run tsc and push changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarParra committed Dec 18, 2024
1 parent a9124d7 commit 0482749
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: tsc
uses: icrawl/action-tsc@v1
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
Expand Down
1 change: 1 addition & 0 deletions force-app/lwc/signals/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ function $resource(fn, source, options) {
error: null
};
} catch (error) {
// sample change.
_signal.value = onError(error, _value, { identifier, initialValue }) ?? {
data: null,
loading: false,
Expand Down
1 change: 0 additions & 1 deletion src/lwc/signals/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ function $resource<ReturnType, Params>(
error: null
};
} catch (error) {
// sample change.
_signal.value = onError(error, _value, { identifier, initialValue }) ?? {
data: null,
loading: false,
Expand Down

0 comments on commit 0482749

Please sign in to comment.