-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from ronnelreposo/lazarus
Lazarus
- Loading branch information
Showing
9 changed files
with
3,714 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [ test ] | ||
pull_request: | ||
branches: [ test ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm run test:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Remote Data for Typescript | ||
|
||
[![Test](https://github.com/ronnelreposo/adt-remote-data/actions/workflows/test.yml/badge.svg?branch=test)](https://github.com/ronnelreposo/adt-remote-data/actions/workflows/test.yml) | ||
|
||
## Introduction | ||
|
||
Remote Data is an Abstract Data Type (ADT) for respresenting data from remote sources. | ||
|
@@ -27,9 +29,7 @@ npm install [email protected] | |
|
||
#### Constructors | ||
|
||
##### notAsked `deprecated` use `NotAsked` constant instead. | ||
##### NotAsked | ||
##### loading `deprecated` use `Loading` constant instead. | ||
##### Loading | ||
##### failure | ||
##### success | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testMatch: ['**/src/test/**/*.test.ts'], | ||
}; |
Oops, something went wrong.