Skip to content

Commit

Permalink
migrated check-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Apr 30, 2024
1 parent f5f7130 commit 56032b0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,25 @@ jobs:
- run: yarn typecheck
- run: yarn format
- run: yarn lint
check-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node modules
id: cache-npm
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install deps in root
run: yarn install --frozen-lockfile
- run: yarn test
11 changes: 0 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ variables:
--file "$DOCKERFILE" .
- $BUILDAH_COMMAND info

#### stage: test


check-tests:
stage: test
<<: *common-refs
<<: *kubernetes-env
script:
- yarn --frozen-lockfile
- yarn test

#### stage: build

build-docker:
Expand Down

0 comments on commit 56032b0

Please sign in to comment.