Skip to content

fix(deps): update dependency @actions/cache to v3.2.2 #396

fix(deps): update dependency @actions/cache to v3.2.2

fix(deps): update dependency @actions/cache to v3.2.2 #396

name: example-subfolders
on: [push, pull_request]
jobs:
separate-actions:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macOS-latest]
name: Test on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
# typically we would use a SHA or branch name
# of an action like
# - uses: bahmutov/npm-install@v1
# but for internal testing, let's use the local action
- uses: ./
with:
# server use NPM package lock file
working-directory: examples/subfolders/server
- uses: ./
with:
# client uses yarn lock
working-directory: examples/subfolders/client
# run tests
- run: npm t
working-directory: examples/subfolders/server
- run: npm t
working-directory: examples/subfolders/client
separate-lines:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macOS-latest]
name: Test on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./
with:
# specify a directory per line
working-directory: |
examples/subfolders/server
examples/subfolders/client
# run tests
- run: npm t
working-directory: examples/subfolders/server
- run: npm t
working-directory: examples/subfolders/client