Skip to content

chore(deps): update dependency @cybozu/eslint-config to v23 #715

chore(deps): update dependency @cybozu/eslint-config to v23

chore(deps): update dependency @cybozu/eslint-config to v23 #715

Workflow file for this run

name: test e2e
on:
push:
branches:
- main
pull_request:
concurrency:
group: test-e2e-workflow-concurrency-group
cancel-in-progress: false
jobs:
get-running-os:
name: Get running OS
runs-on: ubuntu-latest
outputs:
os: ${{ steps.get-os.outputs.os }}
steps:
- id: get-os
name: Generate OS matrix
run: |
if [ "${{ github.event_name }}" == "push" ]; then
echo "os=['ubuntu-latest','windows-latest','macos-latest']" >> $GITHUB_OUTPUT
elif [ "${{ github.event_name }}" == "pull_request" ]; then
echo "os=['ubuntu-latest','windows-latest']" >> $GITHUB_OUTPUT
fi
test-e2e:
name: Node.js ${{ matrix.os }} ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
needs: get-running-os
strategy:
max-parallel: 1
matrix:
node-version: [18.x]
os: ${{ fromJSON(needs.get-running-os.outputs.os) }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Run e2e tests
env:
TEST_KINTONE_BASE_URL: ${{ secrets.TEST_KINTONE_BASE_URL }}
TEST_KINTONE_CREDENTIAL_MANAGEMENT_APP_ID: ${{ secrets.TEST_KINTONE_CREDENTIAL_MANAGEMENT_APP_ID }}
TEST_KINTONE_CREDENTIAL_MANAGEMENT_API_TOKEN: ${{ secrets.TEST_KINTONE_CREDENTIAL_MANAGEMENT_API_TOKEN }}
TEST_KINTONE_USER_CREDENTIAL_MANAGEMENT_APP_ID: ${{ secrets.TEST_KINTONE_USER_CREDENTIAL_MANAGEMENT_APP_ID }}
TEST_KINTONE_USER_CREDENTIAL_MANAGEMENT_API_TOKEN: ${{ secrets.TEST_KINTONE_USER_CREDENTIAL_MANAGEMENT_API_TOKEN }}
run: pnpm test:e2e
actions-timeline:
needs: [test-e2e]
runs-on: ubuntu-latest
if: ${{ !cancelled() }}
steps:
- uses: Kesin11/actions-timeline@b03a6aa289adef5534c84ccb6fbef7c975973574 # v2