Skip to content

Deployment job added #7

Deployment job added

Deployment job added #7

Workflow file for this run

name: test project
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: test workflow
run: echo "Testing workflow"
- name: Get code
uses: actions/checkout@v4
- name: install NodeJs
uses: actions/setup-node@v4
with:
node-version: 18
- name: install dependencies
run: npm ci
- name: Run tests
run: npm test
deploy:
runs-on: ubuntu-latest
steps:
- name: test workflow
run: echo "Testing workflow"
- name: Get code
uses: actions/checkout@v4
- name: install NodeJs
uses: actions/setup-node@v4
with:
node-version: 18
- name: install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build Project
run: npm run build
- name: deploy
run: echo "Deploying ...."