Skip to content
Merged
Show file tree
Hide file tree
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
66 changes: 33 additions & 33 deletions .github/workflows/on-push-pr.action.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: "[Stage, Production] Push/PR action"
on:
# Trigger conditions. This action will be triggered for each condition. Ex.
# making a PR from stage to master, then pushing a change to stage will trigger
# this action, or all jobs, twice.
push:
branches:
- "stage"
- "master"
paths:
- "src/**"
pull_request:
branches:
- "stage"
- "master"
# Trigger conditions. This action will be triggered for each condition. Ex.
# making a PR from stage to master, then pushing a change to stage will trigger
# this action, or all jobs, twice.
push:
branches:
- "stage"
- "master"
paths:
- "src/**"
pull_request:
branches:
- "stage"
- "master"
jobs:
vulnerabilities-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: debricked/actions@v4
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
code-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Checkout repository
- uses: actions/setup-node@v3
name: Set NodeJS version
with:
node-version: 16
- name: Install packages
run: "npm ci"
- name: Build source
run: "npm run build"
vulnerabilities-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: debricked/actions@v4
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
code-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Checkout repository
- uses: actions/setup-node@v3
name: Set NodeJS version
with:
node-version: 20
- name: Install packages
run: "npm ci"
- name: Build source
run: "npm run build"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# from: https://github.com/Saluki/nestjs-template
FROM node:16-alpine as builder
FROM node:20-alpine as builder

ENV NODE_ENV build

Expand Down
Loading