Skip to content

Update Vite tutorial section for Laravel (#204) #579

Update Vite tutorial section for Laravel (#204)

Update Vite tutorial section for Laravel (#204) #579

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_VERSION: 20
jobs:
build:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run textlint
# Remove this when https://github.com/withastro/action/pull/52 is merged
- name: Remove yarn.lock because it breaks withastro/action@v2
run: find node_modules -name "yarn.lock" -exec rm -f {} +
- name: Install, build, and upload your site output
uses: withastro/action@v2
with:
node-version: ${{ env.NODE_VERSION }}