summaryrefslogtreecommitdiff
path: root/date-fns/.github/workflows/node_tests.yaml
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-08-23 16:46:06 -0300
committerSebastian <sebasjm@gmail.com>2021-08-23 16:48:30 -0300
commit38acabfa6089ab8ac469c12b5f55022fb96935e5 (patch)
tree453dbf70000cc5e338b06201af1eaca8343f8f73 /date-fns/.github/workflows/node_tests.yaml
parentf26125e039143b92dc0d84e7775f508ab0cdcaa8 (diff)
downloadnode-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.tar.gz
node-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.tar.bz2
node-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.zip
added web vendorsHEADmaster
Diffstat (limited to 'date-fns/.github/workflows/node_tests.yaml')
-rw-r--r--date-fns/.github/workflows/node_tests.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/date-fns/.github/workflows/node_tests.yaml b/date-fns/.github/workflows/node_tests.yaml
new file mode 100644
index 0000000..c850a0b
--- /dev/null
+++ b/date-fns/.github/workflows/node_tests.yaml
@@ -0,0 +1,31 @@
+name: Main tests
+
+on: [push, pull_request]
+
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [14.x]
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: export CHROME_BIN
+ run: export CHROME_BIN=chromium-browser
+ - name: export DISPLAY
+ run: export DISPLAY=:99.0
+ - name: Install yarn
+ run: npm install -g yarn
+ - name: Install dependencies
+ run: yarn install
+ - name: Run tests
+ uses: GabrielBB/xvfb-action@v1.0
+ with:
+ run: ./scripts/test/ci.sh
+ env:
+ TEST_SUITE: main