diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 535e4b7..e122614 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,24 +3,25 @@ on: [push] jobs: build: name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} - runs-on: ${{ matrix.os }} strategy: matrix: - node: ['10.x', '12.x', '14.x'] + node: ['16.x', '17.x', '18.x', '19.x', '20.x'] os: [ubuntu-latest, windows-latest, macOS-latest] - steps: - name: Checkout repo uses: actions/checkout@v2 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node }} + node-version: '16.x || 17.x || 18.x || 19.x || 20.x' + + - name: Install Yarn + run: npm install -g yarn - - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + - name: Install dependencies + run: yarn install --frozen-lockfile - name: Lint run: yarn lint diff --git a/README.md b/README.md index f92dc17..79aeb2d 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,19 @@ The main feature of this library is to enable developers to use it across variou ## Commands -
or
+ +```bash +npm install visual-pack +``` + +### TSDX TSDX scaffolds your new library inside `/src`, and also sets up a [Parcel-based](https://parceljs.org) playground for it inside `/example`. diff --git a/package.json b/package.json index b574d34..b81f652 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "src" ], "engines": { - "node": ">=10" + "node": ">=16" }, "scripts": { "start": "tsdx watch",