summaryrefslogtreecommitdiff
path: root/date-fns/.github/workflows
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
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')
-rw-r--r--date-fns/.github/workflows/coverage.yaml21
-rw-r--r--date-fns/.github/workflows/deploy.yaml21
-rw-r--r--date-fns/.github/workflows/main_tests.yaml31
-rw-r--r--date-fns/.github/workflows/node_tests.yaml31
-rw-r--r--date-fns/.github/workflows/timezone_step_1.yaml33
-rw-r--r--date-fns/.github/workflows/timezone_step_2.yaml33
6 files changed, 170 insertions, 0 deletions
diff --git a/date-fns/.github/workflows/coverage.yaml b/date-fns/.github/workflows/coverage.yaml
new file mode 100644
index 0000000..88bc7cb
--- /dev/null
+++ b/date-fns/.github/workflows/coverage.yaml
@@ -0,0 +1,21 @@
+name: Coverage report
+
+'on':
+ push:
+ branches: [master]
+
+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: Run release script
+ run: ./scripts/test/coverageReport.sh
diff --git a/date-fns/.github/workflows/deploy.yaml b/date-fns/.github/workflows/deploy.yaml
new file mode 100644
index 0000000..fda9ab1
--- /dev/null
+++ b/date-fns/.github/workflows/deploy.yaml
@@ -0,0 +1,21 @@
+name: Deploy
+
+'on':
+ push:
+ branches: [master]
+
+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: Run release script
+ run: ./scripts/release/release.sh
diff --git a/date-fns/.github/workflows/main_tests.yaml b/date-fns/.github/workflows/main_tests.yaml
new file mode 100644
index 0000000..93ef149
--- /dev/null
+++ b/date-fns/.github/workflows/main_tests.yaml
@@ -0,0 +1,31 @@
+name: Node.js 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: node
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
diff --git a/date-fns/.github/workflows/timezone_step_1.yaml b/date-fns/.github/workflows/timezone_step_1.yaml
new file mode 100644
index 0000000..fe9f365
--- /dev/null
+++ b/date-fns/.github/workflows/timezone_step_1.yaml
@@ -0,0 +1,33 @@
+name: Timezones 1/2
+
+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: tz
+ TZ_LENGTH: 2
+ TZ_INDEX: 0
diff --git a/date-fns/.github/workflows/timezone_step_2.yaml b/date-fns/.github/workflows/timezone_step_2.yaml
new file mode 100644
index 0000000..83c6fec
--- /dev/null
+++ b/date-fns/.github/workflows/timezone_step_2.yaml
@@ -0,0 +1,33 @@
+name: Timezones 2/2
+
+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: tz
+ TZ_LENGTH: 2
+ TZ_INDEX: 1