Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
DEFAULT_APPLICATION_ENVIRONMENT:
required: true
type: string
default: dev

jobs:
build-node-server:
runs-on: ubuntu-latest

env:
NPMRC: ${{ secrets.NPMRC }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Add .npmrc file
working-directory: ./node/wfprev-gdb-extractor
run: echo -e "$NPMRC" > ~/.npmrc

- name: Debug .npmrc
run: cat ~/.npmrc

- name: Clear cache
working-directory: ./node/wfprev-gdb-extractor
run: |
rm -f package-lock.json
rm -rf node_modules
npm cache clean --force

- name: Install dependencies
working-directory: ./node/wfprev-gdb-extractor
run: npm install

Loading