Skip to content

fix: Remove needless anchor and Fix build scripts (#350) #572

fix: Remove needless anchor and Fix build scripts (#350)

fix: Remove needless anchor and Fix build scripts (#350) #572

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
lint:
- eslint
- stylelint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- run: yarn install --immutable
- name: Run ${{ matrix.lint }}
run: yarn ${{ matrix.lint }}
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- run: yarn install --immutable
- name: Run build
run: |
yarn build
yarn export
env:
NEXT_PUBLIC_BASE_URL: ${{ secrets.BASE_URL }}
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: artifact
path: out