Skip to content

Commit

Permalink
style: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdreizin committed Jun 28, 2021
1 parent ad9d6fa commit 4766589
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,44 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/setup-node@v2.1.5
with:
registry-url: 'https://registry.npmjs.org'
node-version: '10.x'
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Get Yarn Cache Directory Path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore Yarn Cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: |
yarn run test
sed -i -e "s|$PWD|$SONAR_ROOT|g" coverage/lcov.info
env:
SONAR_ROOT: /github/workspace
- name: Build
run: yarn build
- name: Sonar
uses: sonarsource/sonarcloud-github-action@v1.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Release
if: github.ref == 'refs/heads/master'
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup
uses: actions/setup-node@v2.1.5
with:
registry-url: "https://registry.npmjs.org"
node-version: "10.x"
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Get Yarn Cache Directory Path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore Yarn Cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: |
yarn run test
sed -i -e "s|$PWD|$SONAR_ROOT|g" coverage/lcov.info
env:
SONAR_ROOT: /github/workspace
- name: Build
run: yarn build
- name: Sonar
uses: sonarsource/sonarcloud-github-action@v1.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Release
if: github.ref == 'refs/heads/main'
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '{build}'
version: "{build}"
build: off
deploy: off
cache:
Expand Down

0 comments on commit 4766589

Please sign in to comment.