Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Sharkman za patch 1 #87

Sharkman za patch 1

Sharkman za patch 1 #87

Workflow file for this run

name: Build Codebase
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
start:
name: Start State 🚀🚀🚀
runs-on: ubuntu-latest
steps:
- name: Starting
id: init
run: |
echo "Starting building of ${{ github.repository }}"
build_project:
name: Build on all platforms
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
needs: start
steps:
- name: Checkout for ${{ runner.os }}
uses: actions/checkout@v3
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci
- name: Run tests and collect coverage
run: npm run test
- name: Build Project for ${{ runner.os }}
run: npm run build
end:
name: End State ✅✅✅
runs-on: ubuntu-latest
needs: build_project
steps:
- name: Ending
id: init
run: |
echo "Ending building of ${{ github.repository }}"