Skip to content

Commit

Permalink
Build only for Node 18.x, ver 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapang committed Dec 6, 2023
1 parent 65fcd2d commit 59fa9fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -35,18 +31,14 @@ jobs:
needs: build
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

permissions:
packages: write
contents: read
steps:
- 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 59fa9fc

Please sign in to comment.