feat : api test ADD GitAction

feat : api test ADD GitAction

feat : api test ADD GitAction

feat : api test ADD GitAction

feat : cache test
This commit is contained in:
minseokkang
2022-11-04 15:27:59 +09:00
parent 9f26ec27e5
commit 946eb66ebe
2 changed files with 19 additions and 13 deletions

View File

@@ -7,18 +7,25 @@ on:
jobs:
real-world-api-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v2
- name: npx install
run: npm install -g npx
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: chmod test file
run: chmod +x ./doc/run-api-tests.sh
- name: run api test
run: ./doc/run-api-tests.sh

View File

@@ -17,7 +17,6 @@ jobs:
java-version: '18'
cache: gradle
- name: Grant execute permission gradlew
run: chmod +x gradlew