Skip to content

Bump @skyscanner/eslint-config-skyscanner from 22.3.1 to 22.5.0 (#392) #56

Bump @skyscanner/eslint-config-skyscanner from 22.3.1 to 22.5.0 (#392)

Bump @skyscanner/eslint-config-skyscanner from 22.3.1 to 22.5.0 (#392) #56

Workflow file for this run

name: Main
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
env:
CACHE_NAME: node-modules-cache
jobs:
Install-Lint-Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run linters
run: npm run lint
- name: Test
run: npm test
ReleaseDraft:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Draft release notes
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}