Update existing SSH permission requests to match new backend data structures #474
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: {} | |
push: | |
branches: [main] | |
name: Test | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ^20.14.0 | |
cache: yarn | |
cache-dependency-path: | | |
yarn.lock | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: | | |
echo dir="$(yarn cache dir)" >> $GITHUB_OUTPUT | |
echo version="$(yarn cache dir)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
**/node_modules | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ steps.yarn-cache-dir-path.outputs.version }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Yarn install | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Run tests | |
run: yarn jest -w2 |