Skip to content

Commit

Permalink
update deps (#23)
Browse files Browse the repository at this point in the history
* update deps

* update test suite

* add node build workflow

* update README, remove travis

* update workflow branch name

* fix lint step of workflow
  • Loading branch information
duereg authored Aug 26, 2023
1 parent 10eeca4 commit 2b4e86f
Show file tree
Hide file tree
Showing 6 changed files with 4,667 additions and 1,004 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 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: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[![Build Status](https://travis-ci.org/duereg/js-algorithms.svg)](https://travis-ci.org/duereg/js-algorithms)
[![Dependencies](https://david-dm.org/duereg/js-algorithms.svg)](https://david-dm.org/duereg/js-algorithms)
[![devDependencies](https://david-dm.org/duereg/js-algorithms/dev-status.svg)](https://david-dm.org/duereg/js-algorithms#info=devDependencies&view=table)
[![NPM version](https://badge.fury.io/js/js-algorithms.svg)](http://badge.fury.io/js/js-algorithms)

JS-Algorithms
Expand Down
2 changes: 1 addition & 1 deletion lib/algorithms/8-oop/blackjack/deck.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Card = require('./blackjackCard');
const suites = require('./suites');
const cardValues = require('./cardValues');
const shuffle = require('../../1-strings/shuffle.js');
const shuffle = require('../../1-strings/shuffle');

class Deck {
constructor() {
Expand Down
Loading

0 comments on commit 2b4e86f

Please sign in to comment.