Skip to content

Update dependency eslint to v9 #758

Update dependency eslint to v9

Update dependency eslint to v9 #758

Workflow file for this run

name: Build pages
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4.0.4
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Fix file permissions
shell: sh
run: |
chmod -c -R +rX "dist/"
- name: Archive artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist/
deploy:
if: github.ref == 'refs/heads/main'
needs: build
permissions:
pages: write
id-token: write
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@v2