diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..8267fd7 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,37 @@ +name: Node.js CI + +on: + push: + branches: main + tags: + - "v*" + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2.2.4 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + - run: pnpm install + - run: pnpm zip + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + .output/*.zip diff --git a/package.json b/package.json index 5803a81..c8ce1a7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "insight-word", "description": "find the words in web pages", "private": true, - "version": "0.9.0", + "version": "1.0.0", "type": "module", "scripts": { "dev": "wxt",