Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

build(deps-dev): bump graphql from 16.6.0 to 16.8.1 #15

build(deps-dev): bump graphql from 16.6.0 to 16.8.1

build(deps-dev): bump graphql from 16.6.0 to 16.8.1 #15

Workflow file for this run

name: Release
on:
push:
branches: [main, next]
pull_request:
types: [opened, synchronize, reopened]
# Enabled permissions on GITHUB_TOKEN
permissions:
# To be able to push to the repo
contents: write
# To update the pr description with canary info
pull-requests: write
# For pr-check to create a status
statuses: write
# Needed to create PR statuses/checks
checks: write
# To post comments on PRs
issues: write
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- uses: 8BitJonny/[email protected]
id: PR
with:
filterOutClosed: true
sha: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: pnpm install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build packages
run: pnpm run --filter=@mazeapp/apollo-prometheus-exporter build
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Create Release
run: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
PR: ${{ steps.PR.outputs.number }}