Skip to content

Commit

Permalink
ci: up
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed May 12, 2024
1 parent 93982b7 commit 079f4bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 27 deletions.
34 changes: 9 additions & 25 deletions .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 20

- uses: pnpm/action-setup@v2
with:
version: 8.10.2
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version: '>=20'
cache: 'pnpm'

- name: Cache firebase tools
id: cache-firebase-tools
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-firebase-tools
with:
Expand Down Expand Up @@ -81,4 +63,6 @@ jobs:
working-directory: ./packages/nuxt
run: pnpm run build

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "vuefire",
"version": "3.1.23",
"description": "Official Firebase bindings for Vue.js",
"packageManager": "pnpm@8.15.3",
"packageManager": "pnpm@9.1.0",
"engines": {
"node": ">=18"
},
"volta": {
"node": "18.16.1"
"node": "20.11.1"
},
"type": "module",
"exports": {
Expand Down

0 comments on commit 079f4bd

Please sign in to comment.