diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..b5588192 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Test + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Cache node modules + uses: actions/cache@v2 + env: + cache-name: cache-node-modules + with: + path: ~/.cache/yarn + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- + - name: Setup Node.js environment + uses: actions/setup-node@v2.1.2 + with: + node-version: 14 + registry-url: 'https://registry.npmjs.org' + - run: yarn install + - run: yarn test diff --git a/README.md b/README.md index bd9489d3..4b8adbb0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ -# Clientkit +