Skip to content

Merge pull request #6 from reuters-graphics/node-resolve #11

Merge pull request #6 from reuters-graphics/node-resolve

Merge pull request #6 from reuters-graphics/node-resolve #11

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- id: pnpm
name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8.x
- id: setup
name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- id: install
name: Install dependencies
run: pnpm i
- id: test
name: Run tests
run: pnpm run test
env:
OPTA_OUTLET_AUTH: ${{ secrets.OPTA_OUTLET_AUTH }}
OPTA_SECRET_KEY: ${{ secrets.OPTA_SECRET_KEY }}