Update to node20 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Action | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Prepare | |
run: | | |
git checkout -b test-try-push | |
git push origin test-try-push | |
git reset --hard HEAD~1 | |
git checkout - | |
- name: Push | |
uses: ./ | |
with: | |
branch: test-try-push | |
- name: Clean | |
if: always() | |
run: | | |
git push --delete origin test-try-push |