Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Saife authored Dec 27, 2023
1 parent bc80b41 commit 02aad7c
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ jobs:
environment: test
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "^18.4.0"
cache: "npm"
- name: Install dependencies
run: npm ci
- run: npm run lint
- run: npm run prettier -- --check
- name: Create .env file and Sets variables to unit tests
env:
ACCESS_TOKEN: ${{ secrets.VITE_ACCESS_TOKEN }}
Expand All @@ -40,5 +31,17 @@ jobs:
echo "ls -a ${{ github.workspace }}"
ls -a ${{ github.workspace }}
shell: bash

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

- name: Install dependencies
run: npm ci
- run: npm run lint
- run: npm run prettier -- --check

- run: npm run test
- run: npm run build

0 comments on commit 02aad7c

Please sign in to comment.