Skip to content

chore: Change slack icon to discord #97

chore: Change slack icon to discord

chore: Change slack icon to discord #97

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- '**/*.md'
jobs:
build:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16", "18"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install and Build
env:
FAUST_SECRET_KEY: ${{secrets.FAUST_SECRET_KEY}}
NEXT_PUBLIC_WORDPRESS_URL: ${{secrets.NEXT_PUBLIC_WORDPRESS_URL}}
run: |
npm ci
npm run build
- name: Error handling
if: failure()
run: echo "Build failed!"