Skip to content

Commit

Permalink
update pipeline steps
Browse files Browse the repository at this point in the history
  • Loading branch information
alan2207 committed Apr 28, 2024
1 parent 04bb6d6 commit 9e9dbec
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: mv .env.example .env
- run: yarn install
- run: yarn build
- run: yarn test
- run: yarn lint
- run: yarn check-format
- run: yarn check-types
- name: Set environment variables
run: mv .env.example .env
- name: Install dependencies
run: yarn install
- name: Build application
run: yarn build
- name: Run tests
run: yarn test
- name: Run linter
run: yarn lint
- name: Check formatting
run: yarn check-format
- name: Check types
run: yarn check-types
e2e:
timeout-minutes: 60
runs-on: ubuntu-latest
Expand All @@ -27,6 +34,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Set environment variables
run: mv .env.example .env
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
Expand Down

0 comments on commit 9e9dbec

Please sign in to comment.