Skip to content

Commit

Permalink
Merge pull request #265 from sparksuite/always-use-yarn-dev
Browse files Browse the repository at this point in the history
For simplicity and consistency, always prep jobs with `yarn dev`
  • Loading branch information
WesCossick authored Apr 22, 2021
2 parents e1c5266 + bf4b024 commit 3d7aa9f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn dev
- run: yarn lint
test:
name: Run tests
Expand Down Expand Up @@ -108,8 +108,7 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn compile
- run: yarn dev
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -138,9 +137,7 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn compile
- run: yarn --cwd ./website install --frozen-lockfile --prefer-offline
- run: yarn dev
- run: yarn --cwd ./website build
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 3d7aa9f

Please sign in to comment.