Skip to content

chore(deps): update docker/login-action action to v3 #967

chore(deps): update docker/login-action action to v3

chore(deps): update docker/login-action action to v3 #967

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js Build CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache pnpm modules
uses: actions/cache@v3
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: pnpm/action-setup@v2.4.0
with:
version: 8.x.x
run_install: false
- name: Install Dependencies
run: |
pnpm i --no-optional
- name: Build project
run: |
npm run bundle
- name: Start MongoDB
uses: supercharge/mongodb-github-action@v1.10.0
with:
mongodb-version: 4.4
- name: Start Redis
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: 6
- name: Test Bundle Server
run: |
bash scripts/workflow/test-server.sh
test:
uses: ./.github/workflows/test.yml