Skip to content

Build info (#79)

Build info (#79) #192

Workflow file for this run

name: inaturalistjs CI
on: [push, pull_request]
jobs:
pre_build:
runs-on: ubuntu-20.04
steps:
- uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ github.token }}
build:
needs: pre_build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm install
- run: npm run coverage
notify:
name: Notify Slack
needs: build
if: ${{ success() || failure() }}
runs-on: ubuntu-20.04
steps:
- uses: iRoachie/[email protected]
if: env.SLACK_WEBHOOK_URL != null
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_BUILDS_WEBHOOK_URL }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}