From 7a2fa784b9887a00ec564dbc85734922b2a9fe43 Mon Sep 17 00:00:00 2001 From: Ben Durrant Date: Sat, 23 Dec 2023 16:21:52 +0000 Subject: [PATCH 1/2] Add publish CI workflow --- .github/workflows/publish.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000000..c07bc8ffdf --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,24 @@ +name: Publish Package to npmjs +on: + # keeping it purely manual for now as to not accidentally trigger a release + #release: + # types: [published] + workflow_dispatch: +jobs: + publish: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + cache: 'yarn' + - run: yarn install --frozen-lockfile + - run: yarn test + - run: npm publish --access public --provenance + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} From d641945e3f7570a0ccd8494c51c4484d9403c475 Mon Sep 17 00:00:00 2001 From: Ben Durrant Date: Sat, 23 Dec 2023 16:26:31 +0000 Subject: [PATCH 2/2] add me to FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index b39756b2c7..f89685d721 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: [timdorr, markerikson, phryneas] +github: [timdorr, markerikson, phryneas, EskiMojo14]