diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 67ef487..6007032 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,25 +7,19 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: '16.x' - registry-url: "https://registry.npmjs.org" - cache: "npm" + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + cache: 'npm' - run: npm ci - - name: build figma - run: npm run build:figma - env: - FIGMA_TOKEN: ${{ secrets.UBIE_FIGMA_TOKEN }} - FIGMA_DESIGN_TOKEN_FILE_KEY: ${{ secrets.FIGMA_DESIGN_TOKEN_FILE_KEY }} - - name: build tokens run: npm run build:tokens - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.UBIE_NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.UBIE_NPM_TOKEN }}