diff --git a/.github/workflows/build-size.yml b/.github/workflows/build-size.yml index caa1d4c2c4..8a492a3c6e 100644 --- a/.github/workflows/build-size.yml +++ b/.github/workflows/build-size.yml @@ -1,4 +1,4 @@ -name: Build Size +name: Build Size Report on: pull_request_target: @@ -8,7 +8,6 @@ on: jobs: build: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - uses: preactjs/compressed-size-action@v2 diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 1b3dd89845..fcd909e531 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -1,8 +1,6 @@ name: E2E Test on: - # Trigger the workflow on push or pull request, - # but only for the master branch push: branches: - master @@ -15,13 +13,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x] + node: ['10', '14'] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node }} - name: Installation run: yarn - name: Setup test-website project against master release @@ -40,13 +38,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x] + node: ['10', '14'] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node }} - name: Installation run: yarn - name: Setup test-website project against master release diff --git a/.github/workflows/lighthouseCI.yml b/.github/workflows/lighthouseCI.yml index 544e5a404a..3c1c6659cd 100644 --- a/.github/workflows/lighthouseCI.yml +++ b/.github/workflows/lighthouseCI.yml @@ -1,17 +1,19 @@ -name: Lighthouse CI +name: Lighthouse Report on: pull_request_target jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + node: ['12'] steps: - uses: actions/checkout@v2 - - name: Use Node.js 12.x + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: ${{ matrix.node }} - name: Install and Build run: | yarn install diff --git a/.github/workflows/migration-cli-e2e-test.yml b/.github/workflows/migration-cli-e2e-test.yml index 9d3dc89ee7..a75df13605 100644 --- a/.github/workflows/migration-cli-e2e-test.yml +++ b/.github/workflows/migration-cli-e2e-test.yml @@ -1,8 +1,6 @@ -name: MIGRATION CLI E2E TEST +name: Migration CLI E2E Test on: - # Trigger the workflow on push or pull request, - # but only for the master branch push: branches: - master @@ -15,13 +13,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x] + node: ['10'] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node }} - name: Installation run: yarn - name: Migrate D1 website diff --git a/.github/workflows/nodejs-windows.yml b/.github/workflows/nodejs-windows.yml index 2ec791c6db..e7bde9a7cd 100644 --- a/.github/workflows/nodejs-windows.yml +++ b/.github/workflows/nodejs-windows.yml @@ -1,8 +1,6 @@ -name: Docusaurus on Windows +name: Windows Build Test on: - # Trigger the workflow on push or pull request, - # but only for the master branch push: branches: - master @@ -12,21 +10,21 @@ on: jobs: build: - runs-on: windows-2019 + runs-on: windows-latest strategy: matrix: - node-version: [10.x] + node: ['10'] steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Installation - run: yarn || yarn || yarn # 3 attemps to avoid timeout errors... - - name: Docusaurus 1 Build - run: yarn build:v1 - - name: Docusaurus 2 Build - run: yarn build:v2 - env: - CI: true + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: Installation + run: yarn || yarn || yarn # 3 attempts to avoid timeout errors... + - name: Docusaurus 1 Build + run: yarn build:v1 + - name: Docusaurus 2 Build + run: yarn build:v2 + env: + CI: true diff --git a/.gitignore b/.gitignore index bb074450ed..0197951069 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ .changelog node_modules +.yarn .eslintcache