Update actions to install playwright & run build before test

This commit is contained in:
Faisal Salman 2023-04-09 10:13:08 +07:00
parent 407b23262c
commit 07c9e36ebe

View File

@ -14,7 +14,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- name: Run the test - name: Run the test
run: | run: |
npm install npm install
npm run build
npx playwright install
npm run test-ci npm run test-ci