diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fb825f..7ab67e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,4 +67,18 @@ jobs: npm install npm test + prepublish: + needs: [format, lint, typecheck, test] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 10 + - env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + uses: actions/npm@v2.0.0 + with: + args: publish --dry-run --access public + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fdef313..eef443f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@h4iuiuc/eslint-plugin", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c1274ed..ccd88c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@h4iuiuc/eslint-plugin", - "version": "1.0.0", + "version": "1.0.1", "description": "An ESLint plugin intended for use with Hack4Impact UIUC projects.", "main": "dist/index.js", "scripts": {