mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Run Javascript tests.
This commit is contained in:
parent
b37c5ff8c7
commit
43449be18c
35
.github/workflows/run-javascript-tests.yml
vendored
Normal file
35
.github/workflows/run-javascript-tests.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: Run Javascript tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install platform dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt upgrade -y
|
||||||
|
sudo apt install -y nodejs npm
|
||||||
|
|
||||||
|
- name: Install Node dependencies
|
||||||
|
run: sudo npm install --global yarn
|
||||||
|
|
||||||
|
- name: Install Node modules
|
||||||
|
run: |
|
||||||
|
cd web
|
||||||
|
yarn install
|
||||||
|
|
||||||
|
- name: Run the tests
|
||||||
|
run: |
|
||||||
|
cd web
|
||||||
|
yarn run test
|
Loading…
Reference in New Issue
Block a user