This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Bump actions/checkout from 2 to 4 #3406
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Performs automated tests on pushes. | |
name: Automated testing | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Copy .env file | |
uses: canastro/copy-file-action@master | |
with: | |
source: '.env.dist' | |
target: '.env' | |
- name: MongoDB in GitHub Actions | |
uses: supercharge/mongodb-github-action@1.3.0 | |
with: | |
mongodb-replica-set: rs0 | |
- name: Run tests | |
run: yarn test |