Update readme #263
This file contains hidden or 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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '22' | |
- name: install pnpm | |
run: npm install -g [email protected] | |
- name: pnpm install | |
run: pnpm install | |
- name: lint | |
run: pnpm run lint | |
- name: build | |
run: pnpm run build | |
# Not deploying the example here, but make sure it builds without errors | |
- name: build-example | |
run: pnpm run build:live-example | |
- name: test | |
run: pnpm run test:ci | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: gregjacobs/Autolinker.js |