Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Sep 20, 2024
1 parent 6d944db commit 22116d9
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: Test & build
on: [push, pull_request]
jobs:
main:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- run: |
wget -q https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb
sudo apt install --allow-downgrades ./esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb
- uses: actions/checkout@v2
- run: sudo apt install erlang
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 16.x
- uses: actions/cache@v3
node-version: 20.x
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -33,7 +31,7 @@ jobs:
- run: docker compose up -d
- run: npx nyc npm run test
- run: npx nyc report --reporter=text-lcov > coverage.lcov
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
files: coverage.lcov
- run: docker compose logs
Expand Down

0 comments on commit 22116d9

Please sign in to comment.