diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c30171b8..df8f66c4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,5 +3,5 @@ Please always provide the [GitHub issue(s)](../issues) your PR is for, as well a Fix # Test URLs: -- Before: https://main--helix-block-collection--adobe.hlx.page -- After: https://--helix-block-collection--adobe.hlx.page +- Before: https://main--aem-block-collection--adobe.hlx.page +- After: https://--aem-block-collection--adobe.hlx.page diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 00000000..39a04bf6 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,14 @@ +name: Build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run lint \ No newline at end of file diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml deleted file mode 100644 index 093278ea..00000000 --- a/.github/workflows/run-tests.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Linting - -on: [pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: '14' - - run: npm install - - run: npm run lint - env: - CI: true