Skip to content

Instantly share code, notes, and snippets.

@roryabraham
Created March 2, 2021 01:55
Show Gist options
  • Save roryabraham/c6cca86488b915c46bfecb4d6f1edfa7 to your computer and use it in GitHub Desktop.
Save roryabraham/c6cca86488b915c46bfecb4d6f1edfa7 to your computer and use it in GitHub Desktop.
import {getPullRequestsMergedBetween} from 'expensify-common';
// Then hard-code your test usages here and console.log the results
# This is a basic workflow to help you get started with Actions
name: Test your custom JS code
# Controls when the action will run.
on:
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Run node script
run: node myScript.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment