Skip to content

fix rss server selection #2

fix rss server selection

fix rss server selection #2

Workflow file for this run

# Runs compatibility tests
name: Backward Compatibility Tests
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: Backward Compatibility Tests
strategy:
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout tkey repo
uses: actions/checkout@v3
with:
repository: tkey/tkey
path: ./tkey
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies, bootstrap, pack
run: |
cd ./tkey
npm ci
npm run pack:lerna
- name: Clone comp tests
uses: actions/checkout@master
with:
repository: tkey/backward-compatibility-tests
path: ./backward-compatibility-tests
- name: Setup comp tests
run: |
cd ./backward-compatibility-tests
npm i
for filename in ../tkey/packages/* ; do
echo "installing $filename" || continue
# ... install packed packages
packagename="`ls ${filename}| grep tkey`"
npm i "${filename}/${packagename}"
done
- name: Running comp tests
run: |
cd ./backward-compatibility-tests
npm test