diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b957d85..a64d05b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,18 +2,18 @@ name: Release on: push: branches: - - master + - main jobs: release: name: Release runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "lts/*" - name: Release diff --git a/package.json b/package.json index b9443f7..c6251c2 100755 --- a/package.json +++ b/package.json @@ -27,5 +27,10 @@ "repository": { "type": "git", "url": "git+https://github.com/herrmannplatz/mapkit-token.git" + }, + "release": { + "branches": [ + "main" + ] } }