Skip to content

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 #119

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 #119

Workflow file for this run

# https://docs.github.com/actions
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm ci
- name: Lint
run: npm run lint
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm ci
- name: Build fixtures
run: npm run build:fixtures
- name: Build action
run: npm run build:action
- name: Save files
uses: actions/upload-artifact@v4
with:
name: build-files
path: dist
publish:
name: Publish
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs:
- lint
- build
steps:
- uses: actions/checkout@v4
- name: Retrieve context files
uses: actions/download-artifact@v4
with:
name: build-files
path: dist
- name: Deploy
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
exclude_assets: '.github,bin,action.js,packag**.json,.gitignore'
publish_branch: dist
enable_jekyll: true