Skip to content

Commit

Permalink
ci(github): [release] run on branch 'master' and 'next'
Browse files Browse the repository at this point in the history
- update to `ubuntu-22.04` runner-image
  • Loading branch information
SimonGolms committed Apr 9, 2024
1 parent 7290200 commit 52cce05
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@ name: Release
on:
push:
branches:
- main
- master
- next

jobs:
release:
env:
# Disable husky (git hooks) in CI, see: https://typicode.github.io/husky/#/?id=disable-husky-in-cidocker
HUSKY: 0
name: Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org/
cache: npm
- name: Install Dependencies
run: npm ci
run: npm clean-install
- name: Run Tests
run: npm test
- name: Release package to npm and GitHub
Expand Down

0 comments on commit 52cce05

Please sign in to comment.