diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fa6636d..d53e43e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,36 +7,6 @@ on: branches: [main] jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: โฌ Checkout - uses: actions/checkout@v2 - - - name: ๐Ÿ”ข Read .nvmrc - run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" - id: nvm - - - name: โš™๏ธ Use Node.js (.nvmrc) - uses: actions/setup-node@v2 - with: - cache: 'npm' - node-version: '${{ steps.nvm.outputs.NVMRC }}' - - - name: ๐Ÿ”‹ Install - run: npm ci - - - name: ๐Ÿค– Linting - run: npm run lint - - - name: ๐Ÿงช Testing - run: npm run test:ci - - - name: ๐Ÿ› ๏ธ Building - run: npm run build - - - name: ๐Ÿ“Š Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} + ci: + uses: marcobiedermann/actions/.github/workflows/ci.yml@main + secrets: inherit