Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Merge pull request #254 from HazelNutHoney/main #5

Merge pull request #254 from HazelNutHoney/main

Merge pull request #254 from HazelNutHoney/main #5

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, synchronize]
workflow_dispatch:
permissions:
contents: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: 📦 Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
run_install: false
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: pnpm
- run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: dist