Skip to content

Change Node Github action composite #3

Change Node Github action composite

Change Node Github action composite #3

Workflow file for this run

name: Deploy to Test Cluster
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src
- name: Checkout Akvo composite actions
uses: actions/checkout@v4
with:
repository: akvo/composite-actions
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
path: composite-actions
ref: main
- name: node-operation
uses: ./composite-actions/.github/actions/node-operation
with:
node-version: "18"
node-command: "yarn install --no-progress --frozen-lock && yarn build && rm -rf node_modules"
- docker-build-frontend:

Check failure on line 31 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy to Test Cluster

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 31, Col: 9): Unexpected value 'docker-build-frontend' .github/workflows/deploy.yml (Line: 38, Col: 9): Unexpected value 'docker-build-backend'
uses: ./composite-actions/.github/actions/docker-build
with:
app-name: "idh-idc"
service-name: "frontend"
dockerfile-location: "frontend"
- docker-build-backend:
uses: ./composite-actions/.github/actions/docker-build
with:
app-name: "idh-idc"
service-name: "backend"
dockerfile-location: "backend"