Skip to content

Merge pull request #166 from 0x416c616e/wv-2636-redirect-if-logged-out #437

Merge pull request #166 from 0x416c616e/wv-2636-redirect-if-logged-out

Merge pull request #166 from 0x416c616e/wv-2636-redirect-if-logged-out #437

Workflow file for this run

name: Node.js CI Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- run: cp src/js/config-template.js src/js/config.js
- name: Write git_commit_hash
run: echo "${{ github.sha }}" > git_commit_hash
- run: npm ci
- run: npm run build --if-present
- run: npm test