Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump-up a few action versions #135

Merged
merged 5 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13]
node: [18, 20, 21]
node: [18, 20, 22]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand All @@ -31,7 +31,7 @@ jobs:
run: sudo apt install gcc g++ python3-pip libbz2-dev ccache zlib1g-dev uuid-dev

- name: Setup Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

Expand All @@ -43,10 +43,11 @@ jobs:
run: PATH=$PATH:$HOME/bin

- name: installing dependencies
run: npm i

- name: installing typescript
run: npm i -g typescript
run: |
npm install
npm i -g eslint
npm i -g codecov
npm i -g typescript

- name: running lint
run: npm run lint
Expand All @@ -55,11 +56,11 @@ jobs:
run: npm run test

- name: running codecov
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-20.04' }}
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
run: npm run codecov

- name: codecov action
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-20.04' }}
uses: codecov/codecov-action@v3
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js 18.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
Expand Down
2 changes: 1 addition & 1 deletion dev/hackPackageVersion.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { writeFileSync } from "fs";
import pkg, { version } from "../package.json";
import pkg from "../package.json";

writeFileSync("./package.json", JSON.stringify(pkg), "utf8");
Loading