Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
randomhajile committed Dec 18, 2023
1 parent b1ed463 commit dca3e38
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
9 changes: 9 additions & 0 deletions .github/actions/setup-website/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dca3e38

Please sign in to comment.