diff --git a/.github/workflows/actionstep-auth-ci.yml b/.github/workflows/actionstep-auth-ci.yml new file mode 100644 index 0000000..55de45d --- /dev/null +++ b/.github/workflows/actionstep-auth-ci.yml @@ -0,0 +1,35 @@ +name: ActionStep Auth CI + +on: + push: + branches: ["**"] + paths: "monorepo/actionstep-auth/**" + pull_request: + branches: [main] + paths: "monorepo/actionstep-auth/**" + +defaults: + run: + working-directory: ./monorepo + shell: bash + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - run: npm run build + - run: npm test diff --git a/.github/workflows/actionstep-publish.yml b/.github/workflows/actionstep-publish.yml index 2ceef7a..96c1a71 100644 --- a/.github/workflows/actionstep-publish.yml +++ b/.github/workflows/actionstep-publish.yml @@ -24,6 +24,9 @@ jobs: - run: npm publish -w actionstep env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm publish -w actionstep-auth + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - run: npm publish -w actionstep-auth-function env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}