From 59fa9fc73a11f9f0222974a404a842d399a90505 Mon Sep 17 00:00:00 2001 From: ctapang Date: Wed, 6 Dec 2023 09:39:26 -0800 Subject: [PATCH] Build only for Node 18.x, ver 0.0.3 --- .github/workflows/node.js.yml | 14 +++----------- package.json | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fb422b1..c593044 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,17 +11,13 @@ jobs: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 18.x uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 18.x # Skip post-install scripts here, as a malicious # script could steal NODE_AUTH_TOKEN. - run: npm ci --ignore-scripts @@ -35,10 +31,6 @@ jobs: needs: build runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - permissions: packages: write contents: read @@ -46,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 18.x registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish diff --git a/package.json b/package.json index 21908d1..669531f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sendroks/react-coinbase-commerce", - "version": "0.0.2", + "version": "0.0.3", "description": "A react component to easily embed a Coinbase Commerce Checkout within your application", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",