Skip to content

Commit

Permalink
ci: move to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Jan 22, 2023
1 parent f9d655c commit 13eea5c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 17 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
on:
- push
- pull_request

jobs:
cache-and-install:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Format
run: pnpm format:check

- name: Lint
run: pnpm format:check

- name: Tests
run: pnpm test

- name: Coverage
uses: codecov/codecov-action@v3
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit 13eea5c

Please sign in to comment.