Show current git commit in footer #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 🛠️ | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Update npm 📦 | |
run: npm install -g npm@latest | |
- name: Install dependencies 📦 | |
run: | | |
npm ci | |
- name: Test 🧪 | |
run: | | |
npm run test | |
- name: Upload coverage reports to Codecov 📊 | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |