Skip to content
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on: push
jobs:
update:
runs-on: ubuntu-22.04
name: Node 20
name: Node 22

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

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
node-version: 22
cache: 'npm'

- run: yarn install
- run: npm ci

- run: yarn build
- run: npm run build

- name: Test Itself (Random Socket)
id: ssh-socket-action-random
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
update:
permissions:
contents: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Commit Dist

steps:
Expand All @@ -17,12 +17,12 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
node-version: 22
cache: 'npm'

- run: yarn install
- run: npm ci

- run: yarn build
- run: npm run build

- name: Commit updated dist
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ Store that in GitHub Secrets to securely pass to the action.
## Development
Install package dependencies:
```shell
yarn install
npm install
```

Build `dist/index.js`:
```shell
ncc build index.js
npm run build
```
---

Expand Down
Loading