Skip to content

Switch from eslint to oxlint (#5) #7

Switch from eslint to oxlint (#5)

Switch from eslint to oxlint (#5) #7

Workflow file for this run

name: πŸ“„ GitHub Pages
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Logic based on examples in:
# - https://github.com/actions/upload-pages-artifact
# - https://github.com/actions/deploy-pages
jobs:
build:
if: github.repository == 'remix-run/remix-v2-website'
name: πŸ— Build
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
node-version: 22
- name: πŸ“₯ Install deps
run: npm ci
- name: πŸ— Build
run: npm run build
- name: ⬆️ Upload static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/client/
deploy:
name: πŸš€ Deploy
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: πŸš€ Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4