diff --git a/.github/workflows/automaitc-publish.yml b/.github/workflows/automaitc-publish.yml new file mode 100644 index 0000000..623c7c7 --- /dev/null +++ b/.github/workflows/automaitc-publish.yml @@ -0,0 +1,27 @@ +name: Automatic publish +on: + release: + types: [published] + +jobs: + npm: + runs-on: ubuntu-latest + steps: + - name: Checkout project + uses: actions/checkout@v2 + + - name: Install packages + run: npm install + + - name: Build project + run: gulp build:dist + + - uses: actions/setup-node@v2 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + + - name: Publish project + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/src/.DS_Store b/src/.DS_Store deleted file mode 100644 index c8db704..0000000 Binary files a/src/.DS_Store and /dev/null differ