diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml new file mode 100644 index 000000000..c12590088 --- /dev/null +++ b/.github/workflows/master.yaml @@ -0,0 +1,21 @@ +on: + push: + branches: + - master +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: "18.17" + cache: "yarn" + registry-url: "https://npm.pkg.github.com" + - run: yarn install --frozen-lockfile + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npx semantic-release@22.0.12 + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}