Skip to content

adding workflow

adding workflow #9

name: matrix-workflow

Check failure on line 1 in .github/workflows/execution-flow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/execution-flow.yml

Invalid workflow file

(Line: 31, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual '/home/ubuntu/git/17-github-matrix/.github/workflows/reusable.yml'
on: push
jobs:
build:
continue-on-error: true
strategy:
matrix:
node-version: [12,13,14]
os: [ubuntu-latest,windows-latest]
exclude:
- os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: install nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run : |
npm ci
- name: build node
run: |
npm run build
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: deploy workflow
uses: /home/ubuntu/git/17-github-matrix/.github/workflows/reusable.yml