chore(deps): update dependency graphql to v16.8.1 #369
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: CI | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
paths: | |
- 'src/**' | |
- '__tests__/**' | |
- 'package.json' | |
- 'yarn.lock' | |
- 'release.config.js' | |
- '.github/workflows/ci.yml' | |
branches: | |
- '*' | |
- '**' | |
- '!master' | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CI: true | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
permissions: | |
packages: write | |
contents: write | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
workflow_id: ci.yml | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
with: | |
fetch-depth: 30 | |
- uses: FranzDiebold/github-env-vars-action@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
- name: Yarn | |
run: yarn install --frozen-lockfile | |
- name: Test | |
run: | | |
yarn test | |
- name: Release | |
if: github.ref == 'refs/heads/develop' | |
run: | | |
npm i -g semantic-release @semantic-release/git @semantic-release/github conventional-changelog-conventionalcommits | |
npx semantic-release --no-ci --debug |