Skip to content

ci: migrate runs-on to Twilio runner labels + SHA-pin actions #39

ci: migrate runs-on to Twilio runner labels + SHA-pin actions

ci: migrate runs-on to Twilio runner labels + SHA-pin actions #39

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@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # 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@8e119fbb6c251787721d34ba683ed48eba792766 # 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@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: segmentio/fql-ts