Skip to content

Commit

Permalink
Merge pull request #576 from zonkyio/volta-action
Browse files Browse the repository at this point in the history
Use Volta Action
  • Loading branch information
bobisjan committed Aug 30, 2020
2 parents 3593ab1 + 7f42cdd commit 2d97114
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: yarn install --non-interactive
- run: yarn lint:js
- run: yarn lint:hbs
Expand All @@ -28,9 +27,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: yarn install --non-interactive
- run: yarn test

Expand All @@ -40,9 +38,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: yarn install --non-interactive
- uses: paambaati/codeclimate-action@v2.5.5
env:
Expand All @@ -56,9 +53,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: yarn install --ignore-lockfile --non-interactive
- run: yarn test

Expand All @@ -80,9 +76,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: yarn install --non-interactive
- env:
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- uses: volta-cli/action@v1

- run: echo "::set-env name=ADDON_DOCS_VERSION_PATH::${GITHUB_REF##*/}"
- if: contains(github.ref , 'master') != true
run: echo "::set-env name=ADDON_DOCS_UPDATE_LATEST::true"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
]
},
"volta": {
"node": "12.16.3",
"node": "10.22.0",
"yarn": "1.22.4"
}
}

0 comments on commit 2d97114

Please sign in to comment.