Skip to content

Commit c974cb0

Browse files
Merge pull request #5 from databrainhq/revert-4-databrain
Revert "fix: workflow file"
2 parents 2652731 + 6bac2a2 commit c974cb0

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

.github/workflows/DuckDBNodeBindingsAndAPI.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -274,50 +274,50 @@ jobs:
274274
# YOUR_USERNAME: ${{ secrets.YOUR_USERNAME }}
275275

276276
# windows_x64:
277-
# name: Windows x64
278-
# runs-on: windows-latest
279-
# if: ${{ inputs.windows_x64 }}
280-
# steps:
281-
# - name: Checkout code
282-
# uses: actions/checkout@v4
277+
name: Windows x64
278+
runs-on: windows-latest
279+
if: ${{ inputs.windows_x64 }}
280+
steps:
281+
- name: Checkout code
282+
uses: actions/checkout@v4
283283

284-
# - name: Setup Node.js
285-
# uses: actions/setup-node@v4
286-
# with:
287-
# node-version: '20'
288-
# registry-url: 'https://registry.npmjs.org/'
284+
- name: Setup Node.js
285+
uses: actions/setup-node@v4
286+
with:
287+
node-version: '20'
288+
registry-url: 'https://registry.npmjs.org/'
289289

290-
# - uses: pnpm/action-setup@v3
291-
# with:
292-
# version: 9
290+
- uses: pnpm/action-setup@v3
291+
with:
292+
version: 9
293293

294-
# - name: Workspace - Install
295-
# run: pnpm install --ignore-scripts
294+
- name: Workspace - Install
295+
run: pnpm install --ignore-scripts
296296

297-
# - name: Bindings - Build
298-
# working-directory: bindings
299-
# run: pnpm run build
297+
- name: Bindings - Build
298+
working-directory: bindings
299+
run: pnpm run build
300300

301-
# - name: Bindings - Test
302-
# working-directory: bindings
303-
# run: pnpm test
301+
- name: Bindings - Test
302+
working-directory: bindings
303+
run: pnpm test
304304

305-
# - name: API - Build
306-
# working-directory: api
307-
# run: pnpm run build
305+
- name: API - Build
306+
working-directory: api
307+
run: pnpm run build
308308

309-
# # - name: API - Test
310-
# # working-directory: api
311-
# # run: pnpm test
309+
# - name: API - Test
310+
# working-directory: api
311+
# run: pnpm test
312312

313-
# - name: Git Status
314-
# if: ${{ inputs.publish }}
315-
# run: git status
313+
- name: Git Status
314+
if: ${{ inputs.publish }}
315+
run: git status
316316

317-
# - name: Publish - Bindings - Win32 x64
318-
# if: ${{ inputs.publish }}
319-
# working-directory: bindings/pkgs/@databrainhq/node-bindings-win32-x64
320-
# run: pnpm publish ${{ inputs.publish_dry_run && '--dry-run' || '' }} --publish-branch ${{ github.ref_name }}
321-
# env:
322-
# NPM_AUTH_TOKEN: ${{ secrets.DUCKDB_NPM_TOKEN }}
323-
# YOUR_USERNAME: ${{ secrets.YOUR_USERNAME }}
317+
- name: Publish - Bindings - Win32 x64
318+
if: ${{ inputs.publish }}
319+
working-directory: bindings/pkgs/@databrainhq/node-bindings-win32-x64
320+
run: pnpm publish ${{ inputs.publish_dry_run && '--dry-run' || '' }} --publish-branch ${{ github.ref_name }}
321+
env:
322+
NPM_AUTH_TOKEN: ${{ secrets.DUCKDB_NPM_TOKEN }}
323+
YOUR_USERNAME: ${{ secrets.YOUR_USERNAME }}

0 commit comments

Comments
 (0)