Skip to content

Bump braces from 3.0.2 to 3.0.3 #46

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #46

Workflow file for this run

name: Validate, build and deploy
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run validate
build:
if: github.ref == 'refs/heads/main'
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: |
mkdir pages
npm -s run collect > pages/eol-rules.json
- uses: actions/upload-pages-artifact@v3
with:
path: pages
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@v4