Bouncer update for node 20 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |