Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yesyash committed Mar 6, 2024
1 parent 508208c commit befadb3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
42 changes: 24 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
name: Test

on:
pull_request:
branches: ["*"]
pull_request:
branches: ["*"]

jobs:
tests:
runs-on: ubuntu-latest
name: Run tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
tests:
runs-on: ubuntu-latest
name: Run tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: "npm"
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: "npm"

- name: Install dependencies
run: npm i
- name: Install dependencies
run: npm i

- run: npm run test:ci
- name: Load env
run: |
set -a
. ../environments/test.env
set +a
- run: npm run test:ci
1 change: 1 addition & 0 deletions environments/test.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_APP_NAME=wisee

0 comments on commit befadb3

Please sign in to comment.