diff --git a/.github/actions/setup-website/action.yml b/.github/actions/setup-website/action.yml index 4951bcce..f80bbe7e 100644 --- a/.github/actions/setup-website/action.yml +++ b/.github/actions/setup-website/action.yml @@ -9,6 +9,15 @@ inputs: runs: using: composite steps: + - name: 🏗 Setup Node + uses: actions/setup-node@v3 + with: + node-version: ${{ inputs.node-version }} + + - name: Setup yarn + shell: bash + run: corepack enable yarn + - name: 🏗 Setup Node uses: actions/setup-node@v3 with: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 58814a54..271d9db9 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -32,20 +32,20 @@ on: - .prettier* - yarn.lock - turbo.json - push: - branches: [main] - paths: - - .github/actions/setup-google-cloud/** - - .github/actions/setup-secrets/** - - .github/actions/setup-website/** - - .github/workflows/website.yml - - website/** - - packages/snack-content/** - - packages/snack-sdk/** - - .eslint* - - .prettier* - - yarn.lock - - turbo.json + push: {} + # branches: [main] + # paths: + # - .github/actions/setup-google-cloud/** + # - .github/actions/setup-secrets/** + # - .github/actions/setup-website/** + # - .github/workflows/website.yml + # - website/** + # - packages/snack-content/** + # - packages/snack-sdk/** + # - .eslint* + # - .prettier* + # - yarn.lock + # - turbo.json jobs: review: @@ -64,7 +64,7 @@ jobs: run: yarn test --ci --maxWorkers 1 build: - if: ${{ github.event_name == 'pull_request' }} + # if: ${{ github.event_name == 'pull_request' }} runs-on: expo-medium steps: - name: 🏗 Setup repository @@ -88,7 +88,7 @@ jobs: working-directory: ./ check-config: - if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'expo/snack' }} + # if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'expo/snack' }} runs-on: expo-medium steps: - name: 🏗 Setup repository