Skip to content

chore(deps): update eslint monorepo to v10 #889

chore(deps): update eslint monorepo to v10

chore(deps): update eslint monorepo to v10 #889

Workflow file for this run

name: "Actions integrate test"
on:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
default_name:
permissions:
contents: read
strategy:
matrix:
runner:
- ubuntu-slim
- ubuntu-latest
- macos-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- name: $GITHUB_WORKSPACE is not symlink
shell: bash
run: |
if [ -L $GITHUB_WORKSPACE ]; then
exit 1
fi
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ./
- name: $GITHUB_WORKSPACE is symlink
shell: bash
run: test -L $GITHUB_WORKSPACE
- name: $GITHUB_WORKSPACE.bak is exists
shell: bash
run: test -d ${GITHUB_WORKSPACE}.bak
- name: Created workspace is not symlink
shell: bash
# Default dir name: ${workflow-yaml-name}-${job-name}
run: |
set -x
ls -l $RUNNER_WORKSPACE
test -d $RUNNER_WORKSPACE/actions-test-default_name
if [ -L $RUNNER_WORKSPACE/actions-test-default_name ]; then
exit 1
fi
- name: Checkout to new workspace for action post process
uses: actions/checkout@v6
with:
persist-credentials: false
if: ${{ always() }}
workspace_name:
permissions:
contents: read
strategy:
matrix:
runner:
- ubuntu-slim
- ubuntu-latest
- macos-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- name: $GITHUB_WORKSPACE is not symlink
shell: bash
run: |
set -x
if [ -L $GITHUB_WORKSPACE ]; then
exit 1
fi
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ./
with:
workspace-name: test-dir
- name: $GITHUB_WORKSPACE is symlink
shell: bash
run: test -L $GITHUB_WORKSPACE
- name: $GITHUB_WORKSPACE.bak is exists
shell: bash
run: test -d ${GITHUB_WORKSPACE}.bak
- name: Created workspace is not symlink
shell: bash
run: |
set -x
ls -l $RUNNER_WORKSPACE
test -d $RUNNER_WORKSPACE/test-dir
if [ -L $RUNNER_WORKSPACE/test-dir ]; then
exit 1
fi
- name: Checkout to new workspace for action post process
uses: actions/checkout@v6
with:
persist-credentials: false
if: ${{ always() }}
workspace_name_with_prefix_suffix:
permissions:
contents: read
strategy:
matrix:
runner:
- ubuntu-slim
- ubuntu-latest
- macos-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ./
with:
workspace-name: "test-dir"
prefix: "Prefix-"
suffix: "-Suffix"
- name: Created workspace is not symlink
shell: bash
run: |
set -x
ls -l $RUNNER_WORKSPACE
test -d $RUNNER_WORKSPACE/prefix-test-dir-suffix
if [ -L $RUNNER_WORKSPACE/prefix-test-dir-suffix ]; then
exit 1
fi
- name: Checkout to new workspace for action post process
uses: actions/checkout@v6
with:
persist-credentials: false
if: ${{ always() }}
working_directory:
permissions:
contents: read
strategy:
matrix:
runner:
- ubuntu-slim
- ubuntu-latest
- macos-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- name: $GITHUB_WORKSPACE is not symlink
shell: bash
run: |
set -x
if [ -L $GITHUB_WORKSPACE ]; then
exit 1
fi
- uses: actions/checkout@v6
with:
persist-credentials: false
# Windows must chdir node.js current directory from mv target directory. '..' should works desired.
- uses: ./
with:
working-directory: ".."
- name: $GITHUB_WORKSPACE is symlink
shell: bash
run: test -L $GITHUB_WORKSPACE
- name: $GITHUB_WORKSPACE.bak is exists
shell: bash
run: test -d ${GITHUB_WORKSPACE}.bak
- name: Created workspace is not symlink
shell: bash
# Default dir name: ${workflow-yaml-name}-${job-name}
run: |
set -x
ls -l $RUNNER_WORKSPACE
test -d $RUNNER_WORKSPACE/actions-test-working_directory
if [ -L $RUNNER_WORKSPACE/actions-test-working_directory ]; then
exit 1
fi
- name: Checkout to new workspace for action post process
uses: actions/checkout@v6
with:
persist-credentials: false
if: ${{ always() }}