blob: 98b20a9eb33d678e4d875cc36f48245a08219226 [file] [log] [blame]
name: no-response-test
# Declare default permissions as read only.
permissions: read-all
on:
pull_request:
paths:
- 'gh_actions/third_party/no-response/**'
- '.github/workflows/no-response_test.yaml'
- '.github/workflows/no-response_publish.yaml'
jobs:
unitTest:
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/cocoon' }}
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
with:
ref: ${{ github.event.release.tag_name }}
sparse-checkout: 'gh_actions/third_party/no-response'
sparse-checkout-cone-mode: false
- name: move_package_to_root
run: |
mv -f gh_actions/third_party/no-response/{.[!.],}* ./
rm -rf gh_actions
- name: ls
run: ls -la
- name: npm_ci
run: npm ci
- name: npm_run_ci
run: npm run ci
- name: npm_run_build
run: npm run build