Skip to content

ci: add tests and workflow (#9) #3

ci: add tests and workflow (#9)

ci: add tests and workflow (#9) #3

Workflow file for this run

name: Tests
env:
UNSPLASH_APP_ID: ${{ secrets.UNSPLASH }}
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test