diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ce08436 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Publish Package +on: + release: + types: [published] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: "18.x" + registry-url: "https://registry.npmjs.org" + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 1fcfd9b..c474502 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "prettier-plugin-ejs", "displayName": "Prettier EJS Plugin", - "version": "0.0.18", + "version": "0.0.19", "description": "A Prettier plugin for Embedded JavaScript Templating (EJS).", "keywords": [ "prettier",