Upgraded actions dependencies

This commit is contained in:
Brian Choromanski
2024-10-08 21:10:10 -04:00
parent 566eabdc31
commit 05c5cf57e4
3 changed files with 19 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ jobs:
permissions: permissions:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4

View File

@@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: npm cache: npm

View File

@@ -12,8 +12,8 @@ jobs:
name: Lint with ESLint and build name: Lint with ESLint and build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: npm cache: npm
@@ -21,7 +21,7 @@ jobs:
- run: npm run lint - run: npm run lint
- run: npm run tsc - run: npm run tsc
- name: cache dist build - name: cache dist build
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
key: dist-${{ github.sha }} key: dist-${{ github.sha }}
path: | path: |
@@ -32,13 +32,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: lint-build needs: lint-build
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: npm cache: npm
- id: cache - id: cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: dist-${{ github.sha }} key: dist-${{ github.sha }}
path: | path: |
@@ -53,7 +53,7 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
run: npx nyc --silent npm test run: npx nyc --silent npm test
- name: cache nyc output - name: cache nyc output
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
key: nyc-sqlite-${{ github.sha }} key: nyc-sqlite-${{ github.sha }}
path: ${{ github.workspace }}/.nyc_output path: ${{ github.workspace }}/.nyc_output
@@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: lint-build needs: lint-build
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build the docker-compose stack - name: Build the docker-compose stack
env: env:
PG_USER: ci_db_user PG_USER: ci_db_user
@@ -70,12 +70,12 @@ jobs:
run: docker compose -f docker/docker-compose-ci.yml up -d run: docker compose -f docker/docker-compose-ci.yml up -d
- name: Check running containers - name: Check running containers
run: docker ps run: docker ps
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: npm cache: npm
- id: cache - id: cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: dist-${{ github.sha }} key: dist-${{ github.sha }}
path: | path: |
@@ -91,7 +91,7 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
run: npx nyc --silent npm test run: npx nyc --silent npm test
- name: cache nyc output - name: cache nyc output
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
key: nyc-postgres-${{ github.sha }} key: nyc-postgres-${{ github.sha }}
path: ${{ github.workspace }}/.nyc_output path: ${{ github.workspace }}/.nyc_output
@@ -100,22 +100,22 @@ jobs:
name: Run Codecov name: Run Codecov
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
cache: npm cache: npm
- run: npm ci - run: npm ci
- name: restore postgres nyc output - name: restore postgres nyc output
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: nyc-postgres-${{ github.sha }} key: nyc-postgres-${{ github.sha }}
path: ${{ github.workspace }}/.nyc_output path: ${{ github.workspace }}/.nyc_output
- name: restore sqlite nyc output - name: restore sqlite nyc output
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: nyc-sqlite-${{ github.sha }} key: nyc-sqlite-${{ github.sha }}
path: ${{ github.workspace }}/.nyc_output path: ${{ github.workspace }}/.nyc_output
- run: npx nyc report --reporter=lcov - run: npx nyc report --reporter=lcov
- name: Upload coverage reports to Codecov - name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v4