Skip to content

change directory in all steps #7

change directory in all steps

change directory in all steps #7

Workflow file for this run

name: Deploy website
on:
push:
branches:
- artifacts-outputs
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get Code
uses: actions/checkout@v3
- name: Folder content
working-directory: ./artifacts-outputs
run: ls
- name: Install dependencies
working-directory: ./artifacts-outputs
run: npm ci
- name: Lint Code
working-directory: ./artifacts-outputs
run: npm run lint
- name: Test code
working-directory: ./artifacts-outputs
run: npm run test
build:
needs: test
runs-on: ubuntu-latest
steps:
- name: Get Code
uses: actions/checkout@v3
- name: Install dependencies
working-directory: ./artifacts-outputs
run: npm ci
- name: Build website
working-directory: ./artifacts-outputs
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy
run: echo "Deploying..."