Skip to content

Interpolate multiple instances of variables. #154

Interpolate multiple instances of variables.

Interpolate multiple instances of variables. #154

Workflow file for this run

---
name: js-tests
on:
pull_request_target:
push:
branches:
- main
workflow_dispatch:
inputs: {}
jobs:
build:
name: Tests with Node ${{ matrix.node }}
runs-on: "ubuntu-latest"
if: |
github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
node: ["18", "20"]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: vendor/bundle
key: >
${{ runner.os }}-${{ matrix.node }}-npm-${{
hashFiles('package.json') }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install npm dependencies
run: |
yarn install
- name: Run Tests
run: |
export PATH="node_modules/.bin:$PATH"
yarn test:ci
yarn lint