add saved_locations endpoints #200
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: 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: 20.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 }} |