Skip to content

temp merge fork

temp merge fork #50

Workflow file for this run

name: Test action
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- README.md
- LICENSE
- .github/**
- "!.github/workflows/test-action.yml"
pull_request:
paths-ignore:
- .gitignore
- README.md
- LICENSE
- .github/**
- "!.github/workflows/test-action.yml"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
branch:
concurrency: ${{ github.workflow }}-branch
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci
- run: npm run build
- shell: bash
run: |
shopt -s dotglob nullglob
mkdir -p ../temp
mv ./* ../temp/
- uses: actions/checkout@v4
with:
ref: test-branch
- shell: bash
run: echo $RANDOM > README.txt
- uses: ./../temp
# pull-request:
# pull-request-fork: