Skip to content

Commit

Permalink
rollback previous github action node config
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Sep 9, 2023
1 parent b15f918 commit 646f7c0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ jobs:
steps:
- name: Checkouts code
uses: actions/checkout@v2

- name: Sets up Node for registry only
uses: actions/setup-node@v3
with:
node-version: '18.12'
registry-url: 'https://registry.npmjs.org'


- name: Caches Nix store
uses: actions/cache@v3
id: nix-cache
Expand All @@ -41,7 +35,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-23.05
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} registry.npmjs.org=${{ secrets.NPM_TOKEN }}
- name: Imports Nix store cache
if: ${{ steps.nix-cache.outputs.cache-hit == 'true' }}
Expand All @@ -63,7 +57,7 @@ jobs:

- name: Publishes the lib
working-directory: lib
run: nix develop -i -k NODE_AUTH_TOKEN -c yarn publish --access public
run: nix develop -c yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 646f7c0

Please sign in to comment.