build(deps-dev): bump rollup from 3.28.0 to 3.29.5 #1499
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
on: | |
push: | |
pull_request: | |
name: CI | |
jobs: | |
unit-tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 6.16.0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Save start timestamp | |
id: timestamp-store | |
run: echo "::set-output name=start_timestamp::$(($(date +%s%N)/1000000))" | |
- name: Run tests | |
run: pnpm run test | |
# - name: Send elapsed time | |
# run: curl https://thisgraph.com/api/timings/$THISGRAPH_BUCKET_ID/basic -X POST -d "$(($(date +%s%N)/1000000-${{ steps.timestamp-store.outputs.start_timestamp }}))" | |
# env: | |
# THISGRAPH_BUCKET_ID: ${{ secrets.THISGRAPH_BUCKET_ID }} | |
lint: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 6.16.0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run linter | |
run: | | |
pnpm run lint | |
pnpm run format |