Skip to content

Commit

Permalink
Use ubuntu-latest runner on GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
onyb committed Jan 10, 2024
1 parent b0f60f1 commit 9cf747b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
audit:
# The type of runner that the job will run on
runs-on: macos-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -24,7 +24,8 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: brew install librsvg libimagequant pkg-config
- run: sudo apt-get update -y
- run: sudo apt-get install -y librsvg2-bin libimagequant-dev pkg-config
- run: npm install -g yarn
- run: yarn --version
- run: yarn
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ env:

jobs:
publish-npm:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: brew install librsvg libimagequant pkg-config
- run: npm install -g yarn npm
- run: sudo apt-get update -y
- run: sudo apt-get install -y librsvg2-bin libimagequant-dev pkg-config
- run: npm install -g yarn
- run: yarn --version
- run: yarn
- run: yarn start
Expand Down

0 comments on commit 9cf747b

Please sign in to comment.