updated yarn references

This commit is contained in:
Kelly Tran
2023-04-26 18:48:52 -04:00
parent 7cffdb5380
commit 11cca1501e
3 changed files with 1353 additions and 53 deletions
+4 -4
View File
@@ -7,13 +7,13 @@ node_js:
- '16.0.0'
before_install:
- npm i -g npm@8.0.0
- yarn global add typescript
- yarn global add webpack
- npm install -g typescript
- npm install -g webpack
before_script:
- source ./scripts/is_latest.sh
script:
- yarn run lint
- yarn run test
- npm run lint
- npm run test
deploy:
- provider: script
skip_cleanup: true
+4 -4
View File
@@ -75,11 +75,11 @@ Pull requests are awesome. If you're looking to raise a PR for something which d
### Testing
EOSJS is used by many libraries across the EOS ecosystem, so proper testing is absolutely essential prior to opening a pull request. This can be done in EOSJS by running `yarn build-production`. This command will build the distrubution bundles (`yarn build-all`) and test each environment accordingly (`yarn test-all`).
EOSJS is used by many libraries across the EOS ecosystem, so proper testing is absolutely essential prior to opening a pull request. This can be done in EOSJS by running `npm run build-production`. This command will build the distribution bundles (`npm run build`) and (`npm run build-web`) and test each environment accordingly (`npm run test-all`).
#### Automated Unit Test Suite
`yarn test` will run through the core functionality of each EOSJS module with Jest.
`npm run test` will run through the core functionality of each EOSJS module with Jest.
#### Integration Test Suite
@@ -87,11 +87,11 @@ Integration tests will only work with a local node running on port 8888 and with
##### Web Environment
Run `yarn build-web` to create the `dist-web` folder and web distrubution modules then `yarn test-web`. This will run through the `tests/web.html` file using Cypress to inform you on the command line of any test failures.
Run `npm run build-web` to create the `dist-web` folder and web distrubution modules then `npm run cypress`. This will run through the `tests/web.html` file using Cypress to inform you on the command line of any test failures.
##### NodeJS Environment
Run `yarn build` to build the NPM distribution bundle then run `yarn test-node`. This will create an out of box node environment with `tests/node.js` then test that environment with Jest and relay the results to the command line.
Run `npm run build` to build the NPM distribution bundle then run `npm run test-node`. This will create an out of box node environment with `tests/node.js` then test that environment with Jest and relay the results to the command line.
### Quality Assurance
+1345 -45
View File
File diff suppressed because it is too large Load Diff