Skip to content

Commit

Permalink
build: update workflows versions (#31)
Browse files Browse the repository at this point in the history
* chore(deps): bump yaml, husky and semantic-release

Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependencies [yaml](https://github.com/eemeli/yaml), [husky](https://github.com/typicode/husky) and [semantic-release](https://github.com/semantic-release/semantic-release). These dependencies need to be updated together.


Removes `yaml`

Updates `husky` from 4.3.8 to 8.0.3
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v4.3.8...v8.0.3)

Updates `semantic-release` from 19.0.5 to 21.0.1
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v19.0.5...v21.0.1)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
- dependency-name: husky
  dependency-type: direct:development
- dependency-name: semantic-release
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump tough-cookie from 4.1.2 to 4.1.3

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: update actions version

* fix: update actions syntax

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
jlozovei and dependabot[bot] committed Jan 3, 2024
1 parent 61e2549 commit d6304c4
Show file tree
Hide file tree
Showing 4 changed files with 3,463 additions and 1,743 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,43 @@ on:
jobs:
test:
name: Test code
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 12
node-version: 18.16.0
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Test code
run: npm run test

release:
name: Semantic Release
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 12
node-version: 18.16.0
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,25 @@ on:
jobs:
test:
name: Test code
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 12
node-version: 18.16.0
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Test code
run: npm run test

- name: Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Expand Down
Loading

0 comments on commit d6304c4

Please sign in to comment.