Skip to content

Commit

Permalink
Try to create NPM release 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cgr-smartesting committed Jun 18, 2024
1 parent 3333b5c commit 06d7033
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
name: Publish Package to npmjs
on:
release:
types: [published]
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run test:unit
- run: npm run prettier:check
- run: INTEGRATION_TEST_TIMEOUT=30000 npm run test:integration
- run: npm publish --access public
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea
node_modules/
*.tgz
test-results.xml
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.7](https://github.com/Smartesting/gravity-cypress-plugin/compare/v0.1.6...v0.1.7)

### Info

- NPM packaging

## [0.1.6](https://github.com/Smartesting/gravity-cypress-plugin/compare/v0.1.5...v0.1.6)

### Info
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smartesting/gravity-cypress-plugin",
"version": "0.1.6",
"version": "0.1.7",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"private": false,
Expand All @@ -19,6 +19,7 @@
"cypress:open": "cypress open",
"cypress:run": "cypress run --e2e --browser=electron",
"start:server": "ts-node test/utils/testServer.ts",
"prepublishOnly": "npm run build && npm run test:unit && npm run prettier:check && INTEGRATION_TEST_TIMEOUT=30000 npm run test:integration",
"prettier:check": "prettier . --check",
"prettier:write": "prettier . --write",
"prepare": "husky"
Expand Down

0 comments on commit 06d7033

Please sign in to comment.