Skip to content

Commit

Permalink
chore: GitHub Actions
Browse files Browse the repository at this point in the history
Use GitHub Actions from "marcobiedermann/actions"
  • Loading branch information
marcobiedermann committed Feb 6, 2023
1 parent 365bace commit 8247fbf
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,6 @@ jobs:
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 }}
- uses: marcobiedermann/actions/checkout@main
- uses: marcobiedermann/actions/setup-node@main
- uses: marcobiedermann/actions/test@main

0 comments on commit 8247fbf

Please sign in to comment.