-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from nimblehq/release/2.4.0
- Loading branch information
Showing
84 changed files
with
3,097 additions
and
8,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Resolves https://github.com/nimblehq/nimble-survey-web/issues/?? | ||
- Close # | ||
|
||
## What happened 👀 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,39 @@ | ||
name: Automated code review | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
on: pull_request | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run: | ||
name: Run Danger | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 100 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.7.1" | ||
ruby-version: "3.0.6" | ||
bundler-cache: true | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "12" | ||
node-version: "18.15.0" | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache yarn packages | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v3 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
|
@@ -45,7 +43,7 @@ jobs: | |
- name: Cache node_modules | ||
id: node-modules-cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v3 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-nodemodules-${{ hashFiles('**/yarn.lock') }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,16 @@ on: | |
workflows: | ||
- Test | ||
branches: | ||
- master | ||
- development | ||
- main | ||
- develop | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
|
||
env: | ||
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | ||
DOCKER_USERNAME: ${{ github.repository_owner }} | ||
|
@@ -24,18 +28,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.workflow_run.head_branch || github.ref }} | ||
|
||
- name: Set BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@v1 | ||
with: | ||
ref: ${{ github.event.workflow_run.head_branch || github.ref }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,12 @@ name: Docker build test | |
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
- development | ||
- main | ||
- develop | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
docker_production_test: | ||
|
@@ -14,16 +18,11 @@ jobs: | |
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | ||
DOCKER_IMAGE: ${{ github.repository }} | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@v1 | ||
|
||
- name: Try building Docker image | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name: Test | ||
|
||
on: push | ||
on: pull_request | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | ||
|
@@ -14,22 +18,17 @@ jobs: | |
name: Build docker image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@v1 | ||
|
||
- name: Log in to Docker registry | ||
run: echo "$DOCKER_TOKEN" | docker login $DOCKER_REGISTRY --username=$DOCKER_USERNAME --password-stdin | ||
|
||
- name: Pull Docker image | ||
if: env.BRANCH_TAG != 'latest' && env.BRANCH_TAG != 'development' | ||
if: env.BRANCH_TAG != 'latest' && env.BRANCH_TAG != 'develop' | ||
run: docker-compose pull test || true | ||
|
||
- name: Build Docker image | ||
|
@@ -44,10 +43,10 @@ jobs: | |
needs: build | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@v1 | ||
|
||
- name: Log in to Docker registry | ||
run: echo "$DOCKER_TOKEN" | docker login $DOCKER_REGISTRY --username=$DOCKER_USERNAME --password-stdin | ||
|
@@ -67,10 +66,10 @@ jobs: | |
needs: build | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@v1 | ||
|
||
- name: Log in to Docker registry | ||
run: echo "$DOCKER_TOKEN" | docker login $DOCKER_REGISTRY --username=$DOCKER_USERNAME --password-stdin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,6 @@ | |
/yarn-error.log | ||
yarn-debug.log* | ||
.yarn-integrity | ||
|
||
/app/assets/builds/* | ||
!/app/assets/builds/.keep |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.