Skip to content

test push

test push #51

Workflow file for this run

name: Test
on:
push
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
one:
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
# - name: Check changed files
# id: changed-files
# run: exit -1
# - name: Check changed files
# id: changed-files
# uses: tj-actions/changed-files@v38.2.2
# with:
# files: |
# .gitignore
# - name: Check if all changes are in the docs folder
# id: is_docs_only
# run: echo "docs_only=${{ steps.changed-files-specific.outputs.only_modified == 'true' }}" >> "$GITHUB_OUTPUT"
# - name: No files in matcher have been modified
# if: steps.changed-files.outputs.any_modified != 'true'
# run: echo "any_modified != 'true'"
# - name: Print all modified files
# if: steps.changed-files.outputs.any_modified == 'true'
# run: |
# echo "One or more test file(s) has changed."
# echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_modified_files }}"
two:
if: ${{ always() && !failure() && !cancelled() && github.ref == 'refs/heads/test_changed_files_action' }}
needs: [one]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Runs
run: echo "runs"