Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nad-au committed Apr 9, 2024
1 parent 1acb07f commit 69cd8db
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/actionstep-auth-ci.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions .github/workflows/actionstep-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 69cd8db

Please sign in to comment.