Skip to content

Bump webpack from 5.91.0 to 5.92.1 #187

Bump webpack from 5.91.0 to 5.92.1

Bump webpack from 5.91.0 to 5.92.1 #187

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: [ "master" ]
paths-ignore:
- '**.md'
pull_request_target:
branches: [ "master" ]
paths-ignore:
- '**.md'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
env:
CLOUDFLARE_ENV: ${{ secrets.CLOUDFLARE_ENV || 'true' }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ACTIVE_NETWORK: ${{ secrets.ACTIVE_NETWORK }}
CONTRACT_ADDRESS: ${{ secrets.CONTRACT_ADDRESS }}
AUTH_WEB_ADDRESS: ${{ secrets.AUTH_WEB_ADDRESS }}
TURNSTILE_SITE_KEY: ${{ secrets.TURNSTILE_SITE_KEY }}
EMAIL_TOKEN: ${{ secrets.EMAIL_TOKEN }}
EMAIL_SERVICE_ID: ${{ secrets.EMAIL_SERVICE_ID }}
EMAIL_TEMPLATE: ${{ secrets.EMAIL_TEMPLATE }}
TWEET_ID: ${{ secrets.TWEET_ID }}
TWEET_ID_2: ${{ secrets.TWEET_ID_2 }}
USER_NAME: ${{ secrets.USER_NAME }}
CHECK_RETWEET_ENABLED: ${{ secrets.CHECK_RETWEET_ENABLED || 'false' }}
CHECK_RETWEET_2_ENABLED: ${{ secrets.CHECK_RETWEET_2_ENABLED || 'false' }}
CHECK_LIKE_ENABLED: ${{ secrets.CHECK_LIKE_ENABLED || 'true' }}
RETWEET_ENABLED: ${{ secrets.RETWEET_ENABLED || 'false' }}
RETWEET_2_ENABLED: ${{ secrets.RETWEET_2_ENABLED || 'false' }}
LIKE_ENABLED: ${{ secrets.LIKE_ENABLED || 'true' }}
FOLLOW_ENABLED: ${{ secrets.FOLLOW_ENABLED || 'true' }}
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4