From ff6e72c6b25d0c300690301e8f43e693c46c4af7 Mon Sep 17 00:00:00 2001 From: Loiane Groner Date: Sun, 27 Oct 2024 09:54:41 -0400 Subject: [PATCH 1/2] Create build.yml --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..af297e37 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "fourth-edition" ] + pull_request: + branches: [ "fourth-edition" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x, 22.x] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm test From 9f4b32178452daa349c0f21c8a3db7e8412d2db9 Mon Sep 17 00:00:00 2001 From: Henry Ward <45144290+kudosscience@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:14:59 +0000 Subject: [PATCH 2/2] Fix broken 3rd edition Packt link in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96845564..e5657bcd 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Book link - second edition: - [Brazilian Portuguese version](https://novatec.com.br/livros/estruturas-de-dados-algoritmos-em-javascript/) Book link - third edition: - - [Packt](https://www.packtpub.com/web-development/learning-javascript-data-structures-and-algorithms-third-edition) + - [Packt](https://www.packtpub.com/en-us/product/learning-javascript-data-structures-and-algorithms-9781788624947) - [Amazon](http://a.co/cbMlYmJ) - [Chinese version](http://www.ituring.com.cn/book/2653) - [Brazilian Portuguese version](https://novatec.com.br/livros/estruturas-de-dados-algoritmos-em-javascript-2ed/)