auction/.github/workflows/github-actions-demo.yml

26 lines
673 B
YAML
Raw Normal View History

2024-01-07 08:02:05 +00:00
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
2024-01-07 08:11:33 +00:00
init:
strategy:
matrix:
node-version: [ 17.x ]
2024-01-07 08:02:05 +00:00
runs-on: ubuntu-latest
steps:
2024-01-07 08:11:33 +00:00
- uses: actions/checkout@v3
2024-01-07 08:13:21 +00:00
with:
path: frontend/casino
2024-01-07 08:11:33 +00:00
- name: Starting NodeJs ${{ matrix.node-version}}
uses: actions/setup-node@v3
with:
2024-01-07 08:13:21 +00:00
path: frontend/casino
2024-01-07 08:11:33 +00:00
node-version: ${{ matrix.node-version }}
- name: install modules
2024-01-07 08:13:21 +00:00
with:
path: frontend/casino
2024-01-07 08:11:33 +00:00
run: yarn
- name: build project
2024-01-07 08:13:21 +00:00
with:
path: frontend/casino
2024-01-07 08:11:33 +00:00
run: yarn build