Skip to content

Commit

Permalink
Ci/GitHub workflow (#1)
Browse files Browse the repository at this point in the history
* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow

* chore: construct workflow
  • Loading branch information
surelle-ha authored Nov 1, 2024
1 parent 1b5aa89 commit 3674cea
Show file tree
Hide file tree
Showing 3 changed files with 2,940 additions and 40 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,32 @@ on:
push:
branches:
- main
- ci/*
- feature/*
- test/*

jobs:
publish-gpr:
permissions:
contents: read
packages: write
attestations: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: "@surelle-ha"
node-version: "20"
registry-url: "https://npm.pkg.github.com/"
scope: "@bismuthjs"

- run: npm install
- run: npm run build
- name: Write .npmrc
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc

- run: npm install --legacy-peer-deps
- run: tsc --build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 3674cea

Please sign in to comment.