Skip to content

Adding CICD

Adding CICD #1

Workflow file for this run

name: React/NodeJS CI
on:
push:
branches: [ 0.0.1 ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 19.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build artifact
run: npm run build
run: rm public

Check failure on line 30 in .github/workflows/actions.yaml

View workflow run for this annotation

GitHub Actions / React/NodeJS CI

Invalid workflow file

The workflow is not valid. .github/workflows/actions.yaml (Line: 30, Col: 7): 'run' is already defined .github/workflows/actions.yaml (Line: 31, Col: 7): 'run' is already defined
run: mv build public
run: ls -la