Skip to content

user params key and logic #37

user params key and logic

user params key and logic #37

Workflow file for this run

name: Test and build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.x ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test --if-present
# Optional linting step
# - run: npm run lint --if-present
# docker-build:
# runs-on: ubuntu-latest
# needs: build
# environment:
# name: staging
# url: ${{ steps.deploy.outputs.page_url }}
# steps:
# - uses: actions/checkout@v4
# - name: Build and push Docker image
# uses: docker/[email protected]
# with:
# context: .
# push: true
# tags: ghcr.io/norkator/poker-pocket-ts-backend-staging:latest
# file: Dockerfile
# approval:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Await manual approval before Docker build
# run: echo "Waiting for manual approval..."
# environment:
# name: staging
# url: ${{ steps.deploy.outputs.page_url }}