Skip to content

Bouncer update for node 20 #34

Bouncer update for node 20

Bouncer update for node 20 #34

name: bouncer Pull Request
on:
pull_request:
paths:
- "functions/bouncer/**"
jobs:
build:
name: build bouncer
runs-on: ubuntu-22.04
steps:
- name: Checkout PR
uses: actions/checkout@v3
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: npm ci, run validate
run: |
cd functions/bouncer
pwd
cp ./.env.sample .env
npm ci
npm run validate
env:
CI: true
- name: Slack Notification
uses: 8398a7/action-slack@v3
with:
fields: repo,message,commit,author,eventName,ref,workflow,job,took
status: ${{ job.status }}
author_name: PullReq CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_DEV_NOTIFICATIONS }}
if: always()