Skip to content

No merge add basic ci run #3

No merge add basic ci run

No merge add basic ci run #3

Workflow file for this run

name: CI Run
on:
push:
branches: [ "dev", "master" ]
pull_request:
branches: [ "dev", "master" ]
pull_request_target:
types:
- opened
branches:
- '*/*'
permissions:
pull-requests: write
contents: read
jobs:
prettier_lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn prettier
- run: yarn lint
unit_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install:dependencies
- run: yarn test --coverage
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./coverage/
files: clover.xml
flags: unittests
name: codecov-report
verbose: true
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn build
- name: Save build
uses: actions/upload-artifact@v3
with:
name: dist
if-no-files-found: error
path: dist
test-artifacts:
runs-on: ubuntu-latest
needs: dist

Check failure on line 87 in .github/workflows/blui-ci.yml

View workflow run for this annotation

GitHub Actions / CI Run

Invalid workflow file

The workflow is not valid. .github/workflows/blui-ci.yml (Line: 87, Col: 12): Job 'test-artifacts' depends on unknown job 'dist'.
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download the dist folder
uses: actions/download-artifact@v3
with:
name: dist
path: dist
- run: yarn test:artifacts