Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: researchgate/spire
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.4
Choose a base ref
...
head repository: researchgate/spire
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.5
Choose a head ref
  • 6 commits
  • 30 files changed
  • 4 contributors

Commits on Nov 11, 2022

  1. use newer node version in ci (#195)

    * use newer node version in ci
    * lint and format
    acao authored Nov 11, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    Okeanos Nikolas Grottendieck
    Copy the full SHA
    102470f View commit details
  2. fix(deps): update dependency semantic-release to v19 [security] (#192)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1bcca71 View commit details
  3. fix(deps): update dependency fs-extra to v10.1.0 (#184)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 11, 2022
    Copy the full SHA
    3385540 View commit details
  4. fix(deps): update dependency eslint-config-prettier to v8.5.0 (#186)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 11, 2022
    Copy the full SHA
    e184a96 View commit details
  5. chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#196)

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Commits](isaacs/minimatch@v3.0.4...v3.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 11, 2022
    Copy the full SHA
    9a93de6 View commit details
  6. v5.0.5

    github-actions committed Nov 11, 2022
    Copy the full SHA
    c2ee8d6 View commit details
80 changes: 33 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -2,52 +2,45 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
NODE_VERSION: 14
NODE_VERSION: 16

jobs:
quality:
name: Quality checks
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]

steps:
- name: Checkout
uses: actions/checkout@v3.0.2

- name: Setup Node.js
uses: actions/setup-node@v3.3.0
with:
node-version: ${{ matrix.node }}

- name: Cache node_modules
uses: actions/cache@v3.0.3
id: cache-nodemodules
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node }}-nodemodules-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --non-interactive

- name: Lint
run: yarn lint

- name: Unit tests
run: yarn test --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
with:
files: ./coverage/coverage-final.json
fail_ci_if_error: true
- name: Checkout
uses: actions/checkout@v3.0.2

- name: Setup Node.js
uses: actions/setup-node@v3.3.0
with:
node-version: ${{ matrix.node }}
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive --immutable

- name: Lint
run: yarn lint

- name: Unit tests
run: yarn test --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
with:
files: ./coverage/coverage-final.json
fail_ci_if_error: true

release:
needs: [quality]
@@ -65,34 +58,27 @@ jobs:
uses: actions/setup-node@v3.3.0
with:
node-version: ${{ env.NODE_VERSION }}

- name: Cache node_modules
uses: actions/cache@v3.0.3
id: cache-nodemodules
with:
path: node_modules
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
cache: 'yarn'

- name: Install dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --non-interactive
run: yarn install --frozen-lockfile --non-interactive --immutable

- name: Git Identity
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Verify npm access
run: |
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami #uses .npmrc from root and the env var
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release
run: yarn release --yes --no-verify-access
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading