Skip to content

fix(deps): bump @dog-ai/github-wrapper from 2.0.21 to 2.0.67 #4319

fix(deps): bump @dog-ai/github-wrapper from 2.0.21 to 2.0.67

fix(deps): bump @dog-ai/github-wrapper from 2.0.21 to 2.0.67 #4319

Workflow file for this run

name: ci
on: [ push ]
jobs:
test-code:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.14
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install NPM dependencies
run: npm ci
- name: Build source code
run: npm run build --if-present
- name: Test source code
run: npm test
- name: Cache coverage
uses: actions/cache@v2
env:
cache-name: cache-coverage
with:
path: coverage
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
submit-test-coverage:
needs: [ test-code ]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Cache coverage
uses: actions/cache@v2
env:
cache-name: cache-coverage
with:
path: coverage
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
- name: Submit coveralls test coverage report
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
create-github-release:
needs: [ test-code ]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.14
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Check if release should be created
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}