diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:46:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:48:30 -0300 |
commit | 38acabfa6089ab8ac469c12b5f55022fb96935e5 (patch) | |
tree | 453dbf70000cc5e338b06201af1eaca8343f8f73 /date-fns/.github | |
parent | f26125e039143b92dc0d84e7775f508ab0cdcaa8 (diff) | |
download | node-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.tar.gz node-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.tar.bz2 node-vendor-38acabfa6089ab8ac469c12b5f55022fb96935e5.zip |
Diffstat (limited to 'date-fns/.github')
-rw-r--r-- | date-fns/.github/FUNDING.yml | 9 | ||||
-rw-r--r-- | date-fns/.github/workflows/coverage.yaml | 21 | ||||
-rw-r--r-- | date-fns/.github/workflows/deploy.yaml | 21 | ||||
-rw-r--r-- | date-fns/.github/workflows/main_tests.yaml | 31 | ||||
-rw-r--r-- | date-fns/.github/workflows/node_tests.yaml | 31 | ||||
-rw-r--r-- | date-fns/.github/workflows/timezone_step_1.yaml | 33 | ||||
-rw-r--r-- | date-fns/.github/workflows/timezone_step_2.yaml | 33 |
7 files changed, 179 insertions, 0 deletions
diff --git a/date-fns/.github/FUNDING.yml b/date-fns/.github/FUNDING.yml new file mode 100644 index 0000000..ba2478b --- /dev/null +++ b/date-fns/.github/FUNDING.yml @@ -0,0 +1,9 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: date-fns +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +custom: # Replace with a single custom sponsorship URL 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 |