Skip to content

chore(deps): update nuxt core #449

chore(deps): update nuxt core

chore(deps): update nuxt core #449

Workflow file for this run

name: Build Artifact
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_call:
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
NUXT_APP_BASE_URL: /RadioRecord/
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "yarn"
- name: Set variables
run: |
echo "NUXT_PUBLIC_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> "$GITHUB_ENV"
echo "NUXT_PUBLIC_HASH=${GITHUB_SHA}" >> "$GITHUB_ENV"
- name: Build website
run: |
yarn install --immutable --immutable-cache --check-cache
yarn generate
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: .output/public