Skip to content

ci: migrate runs-on to Twilio runner labels #38

ci: migrate runs-on to Twilio runner labels

ci: migrate runs-on to Twilio runner labels #38

Workflow file for this run

name: CI
on: [push]
jobs:
test-and-build:
runs-on: ubuntu-latest-large
strategy:
matrix:
node-version: [20.10.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high --fail-on=upgradable
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: segmentio/fql-ts