feat: use actions

This commit is contained in:
nafees nazik
2024-01-04 23:46:09 +05:30
parent 9b5d64cc1a
commit 9e57de512a
2 changed files with 9 additions and 20 deletions

View File

@@ -23,20 +23,12 @@ jobs:
with:
fetch-depth: 2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- uses: ./.github/actions/node-install
- name: Copy env
run: cp .env.example .env
- name: Build
run: npm run build
- uses: ./.github/actions/cache-build
build_docker:
name: Build Docker Image