Skip to content

build: switch to Node.js v18 #10

build: switch to Node.js v18

build: switch to Node.js v18 #10

Workflow file for this run

name: Test Run
on:
push:
branches:
- master
jobs:
test-run:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
with:
ref: 'master'
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: yarn install
- run: yarn build
- name: Scrape
run: yarn start
env:
AIRNOW_KEY: ${{ secrets.AIRNOW_KEY }}
MOENV_API_KEY: ${{ secrets.MOENV_API_KEY }}
GOOGLE_GEOCODING_API_KEY: ${{ secrets.GOOGLE_GEOCODING_API_KEY }}
REDIS_URL: redis://localhost:6379
- uses: actions/upload-artifact@v4
with:
name: output
path: output/
retention-days: 7
services:
redis:
image: redis
ports:
- '6379:6379'