Skip to content

Update main.yml

Update main.yml #181

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Build-artifacts
path: build/