Skip to content

Split runtime so version are individually typed + add missing count to Authorization #65

Split runtime so version are individually typed + add missing count to Authorization

Split runtime so version are individually typed + add missing count to Authorization #65

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
lint:
name: Linting and Building project
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
- name: lint
run: yarn lint
- name: build
run: yarn build:ts
release:
name: Releasing project
runs-on: ubuntu-latest
needs: [lint]
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
- name: build
run: |
yarn build:ts
sed 's/dist\//.\//' package.json > dist/package.json
- name: release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.ASSOCIATION_NPM_TOKEN }}
run: |
cd dist
yarn --frozen-lockfile
yarn semantic-release
check-fast-forward:
name: Check if fast forwarding is possible
runs-on: ubuntu-latest
needs: [lint]
if: github.event_name == 'pull_request'
permissions:
contents: read
# We appear to need write permission for both pull-requests and
# issues in order to post a comment to a pull request.
pull-requests: write
issues: write
steps:
- name: Checking if fast forwarding is possible
uses: sequoia-pgp/fast-forward@v1
with:
merge: false
# To reduce the workflow's verbosity, use 'on-error'
# to only post a comment when an error occurs, or 'never' to
# never post a comment. (In all cases the information is
# still available in the step's summary.)
comment: never