Skip to content

Commit

Permalink
Merge pull request #1 from noblox/update
Browse files Browse the repository at this point in the history
Testing auto
  • Loading branch information
Neztore authored Aug 29, 2024
2 parents 9297903 + 3ea8a9a commit e552712
Show file tree
Hide file tree
Showing 3 changed files with 2,135 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .github/npm-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2

- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x

- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: yarn-deps-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-deps-${{ hashFiles('yarn.lock') }}
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn build
npx auto shipit
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
{
"name": "auto-config-test",
"packageManager": "[email protected]"
}
"name": "@neztore/auto-config-test",
"version": "1.0.0",
"packageManager": "[email protected]",
"devDependencies": {
"auto": "^11.2.1"
},
"repository": "noblox/auto-config-test",
"author": "noblox-auto <[email protected]>",
"auto": {
"plugins": [
"npm"
],
"onlyPublishWithReleaseLabel": true
}
}
Loading

0 comments on commit e552712

Please sign in to comment.